Skip to content

Conversation

@Helveg
Copy link
Collaborator

@Helveg Helveg commented Oct 25, 2025

This PR begins addressing some of the issues with undefined behavior in to-many relationship filtering (closes #1110), and adds support for several new use cases. It also serves as an experiment to see if EXISTS based querying is a viable replacement for the problematic overlap that filtering by relationships with JOINs and WHERE poses right now with the unwanted filtering of the returned related entities (closes #1105). I think if this works out well we should create a benchmark and see what happens to performance if we introduce the same EXISTS-based queries for all to-one relationships as well.

@Helveg Helveg requested review from ppetzold and vsamofal October 25, 2025 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Operators have undefined effects on toMany relationships Filtering on relations trims relation arrays instead of returning all related entities

1 participant