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
We store qualified attributes in schemas, that's good. But when you call .where(name: 'abc') then symbols from the hash don't get converted to attributes from the schema and thus get translated to unqualified SQL identifiers. At the same time, using the block syntax will produce qualified attributes: where { name.is('abc') }. This discrepancy confuses people, we should transform symbol keys into qualified attributes. This will be a breaking change.
The text was updated successfully, but these errors were encountered:
We store qualified attributes in schemas, that's good. But when you call
.where(name: 'abc')
then symbols from the hash don't get converted to attributes from the schema and thus get translated to unqualified SQL identifiers. At the same time, using the block syntax will produce qualified attributes:where { name.is('abc') }
. This discrepancy confuses people, we should transform symbol keys into qualified attributes. This will be a breaking change.The text was updated successfully, but these errors were encountered: