We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
eb
Consider this snippet
where(eb => eb('first_name', sql`%>>`, 'Jennifer'))
This will cause a type error since the operator is assumed to be arithmetic and the output type of the expression is string.
string
One way to solve this could be
where(eb => eb('first_name', sql<boolean>`%>>`, 'Jennifer'))
or we bring back the cmpr function 😬
cmpr
The text was updated successfully, but these errors were encountered:
Or we could make boolean the default expression type. Unknown operators would create a boolean expression. That's probably a better assumption (?)
Sorry, something went wrong.
eb(ref, op, val)
sql
op
No branches or pull requests
Consider this snippet
This will cause a type error since the operator is assumed to be arithmetic and the output type of the expression is
string
.One way to solve this could be
or we bring back the
cmpr
function 😬The text was updated successfully, but these errors were encountered: