Open dalssoft opened 3 years ago
String concat for schema: https://github.com/endersoncosta/gotu2knex/blob/cef3e8636da2913fe9172b0bfc8522a7ea7bf0e1/src/repository.js#L13
Doc for withSchema http://knexjs.org/#Builder-withSchema
withSchema
This should make queries more database agnostic.
We have make the necessary changes, and looks like that:
this.runner = di.knex(options.dbConfig).withSchema(this.schema).from(this.table)
String concat for schema: https://github.com/endersoncosta/gotu2knex/blob/cef3e8636da2913fe9172b0bfc8522a7ea7bf0e1/src/repository.js#L13
Doc for
withSchema
http://knexjs.org/#Builder-withSchemaThis should make queries more database agnostic.