Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compare two property? #596

Closed
qwerin opened this issue Oct 25, 2022 · 3 comments
Closed

Compare two property? #596

qwerin opened this issue Oct 25, 2022 · 3 comments
Labels

Comments

@qwerin
Copy link
Contributor

qwerin commented Oct 25, 2022

How make db query some like?:

$model->authors->findBy(["firstName"=>"lastName"]) ...

@mabar
Copy link
Contributor

mabar commented Apr 12, 2023

This is currently not supported. I made feature request #618 for it

@hrach
Copy link
Member

hrach commented Apr 12, 2023

You can write a custom collection function to this for you.
https://nextras.org/orm/docs/main/collection-functions

@hrach
Copy link
Member

hrach commented Apr 12, 2023

Closing this one.

@hrach hrach closed this as completed Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants