You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Support boolean column filters in where() and having() (#1304)
* Unit tests for boolean column filters
* ci: apply automated fixes
* fix: Support bare boolean column refs in where() and having() clauses
Convert ref proxies to PropRef expressions before the isExpressionLike
validation, allowing idiomatic boolean filters like
`.where(({ u }) => u.active)` and `.having(({ s }) => s.isActive)`.
Closes#1303
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* chore: add changeset for boolean column filters fix
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Support bare boolean column references in `where()` and `having()` clauses. Previously, filtering on a boolean column required `eq(col.active, true)`. Now you can write `.where(({ u }) => u.active)` and `.where(({ u }) => not(u.active))` directly.
0 commit comments