php-crud-api
php-crud-api copied to clipboard
Filter primary table on conditions on secondary table
If the matching column is found on a relationship table instead of the primary table, how could I limit records that are shown on the primary?
Thank you for reaching out. Unfortunately that is not supported. As a workaround you can make the other table the primary table or do two requests.
@mevdschee Why can this not be supported?
Why can this not be supported?
It can. I'll make this a feature request.
Can you provide some insight on where in your code I would make this happen? I can code it in.
@mevdschee ^^^^
@mevdschee any idea on if and when you could get this implemented? maybe a parameter that allows this feature to be included or not.
Same request.
Any update on this or any update on my question see my quote.
Can you provide some insight on where in your code I would make this happen? I can code it in.
In the current implementation I see no straightforward way to build this. I'm currently rewriting this software (in java, see: https://github.com/mevdschee/java-crud-api) and maybe the new implementation structure allows this, but I doubt it. That java implementation will be backported to this project as version 2.x. Not sure when this feature will be available.. if ever..
An update: This will NOT be included in v2.