We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
DQL syntax allows filtering on associated models: https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/dql-doctrine-query-language.html#joins
But our entity repository does not still supports it.
This means that at present we have to first query the association for the filtered values, get the models, and then apply to the main table.
This is really unfriendly when using ORM, where the correct associations have already been mapped.
We should at least support it for one-to-many associations.
We should update https://github.com/detailnet/dfw-persistence-module/blob/master/src/Doctrine/ORM/Repository/BaseEntityRepository.php#L530
The text was updated successfully, but these errors were encountered:
curzio-della-santa
No branches or pull requests
DQL syntax allows filtering on associated models:
https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/dql-doctrine-query-language.html#joins
But our entity repository does not still supports it.
This means that at present we have to first query the association for the filtered values, get the models, and then apply to the main table.
This is really unfriendly when using ORM, where the correct associations have already been mapped.
We should at least support it for one-to-many associations.
We should update
https://github.com/detailnet/dfw-persistence-module/blob/master/src/Doctrine/ORM/Repository/BaseEntityRepository.php#L530
The text was updated successfully, but these errors were encountered: