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
Knex version: 1.0.7
Database + version: Postgres (13.8 but impacting all versions)
OS: MacOS
Bug
We attempted to use knex.withSchema('schema').raw() as part of a feature development at Strapi but our postgres users got the error: connection.withSchema().raw is not a function
I expected to still be able to use the .raw() function having specified the DB schema through withSchema
Hi Knex Team 馃憢馃徎
Environment
Knex version: 1.0.7
Database + version: Postgres (13.8 but impacting all versions)
OS: MacOS
Bug
knex.withSchema('schema').raw()
as part of a feature development at Strapi but our postgres users got the error:connection.withSchema().raw is not a function
I expected to still be able to use the
.raw()
function having specified the DB schema throughwithSchema
Please see strapi/strapi#14832
Please could you advise the intended approach for using
.raw()
queries while specifying the Postgres DB schema?Thanks!
The text was updated successfully, but these errors were encountered: