-
Notifications
You must be signed in to change notification settings - Fork 5
feat [properties] - backend soup endpoint for filter (sort coming soon) #893
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
base: main
Are you sure you want to change the base?
feat [properties] - backend soup endpoint for filter (sort coming soon) #893
Conversation
e4d4c5a to
3e4f1d1
Compare
Code reviewIssue: Missing .sqlx cache updateFile: The SQL query was modified (changing According to the CLAUDE.md:
Resolution: Run |
- Add property_filters field to SoupRequest and SimpleSortRequest - Extract property_filters in router before converting to EntityFilterAst - Route to dynamic query when property_filters is not empty - Build EXISTS subqueries for each property filter per entity type Note: Frecency sort does not yet apply property filters.
- Optimize HasAll to use single @> check with array of all values instead of multiple AND checks for better performance - Remove unused apply_filter function (not used in production) - Remove redundant test_sql_apply_filter_uses_default_alias test - Add push_has_all_check function for efficient HasAll queries
3e4f1d1 to
9ce18a5
Compare
| d."fileType" as file_type, | ||
| d.owner as "owner!", | ||
| d."updatedAt"::timestamptz as "updated_at", | ||
| d."updatedAt"::timestamptz as "updated_at!", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh weird, does this not require a regen of the queries?
feat [properties] - backend soup endpoint for filter (sort coming soon)