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
That error throwing might be potential feature request. Knex maybe could throw an error if query contains parts that were ignored in compilation... though I'm not sure if that is viable to implement, since compilers should then keep track which parts were actually used.
Environment
Knex version: 0.21.5
Database + version: postgres 13.0
OS: alpine
Bug
Explain what kind of behaviour you are getting and how you think it should do:
running
silently removes "having" and results in
I executed a similar select query to check the effected rows and then executed the delete query.
fortunately I had backups!
I think knex could throw an error or let the database throw a syntax error by not removing the "having" part
Thank you for this great project
The text was updated successfully, but these errors were encountered: