Clean
This commit is contained in:
parent
7d709d0d22
commit
028aaa0bb4
|
@ -645,14 +645,6 @@ class SqlQueryBuilder extends SqlTableQueryBuilder {
|
||||||
config.useNullAsDefault = true
|
config.useNullAsDefault = true
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sqlClient === SqlClient.MS_SQL) {
|
|
||||||
// config.connection ??= {}
|
|
||||||
// config.connection.typeCast = (field: any, next: any): any => {
|
|
||||||
// if (field.type === "TIME") return field.string()
|
|
||||||
// return next()
|
|
||||||
// }
|
|
||||||
}
|
|
||||||
|
|
||||||
const client = knex(config)
|
const client = knex(config)
|
||||||
|
|
||||||
let query: Knex.QueryBuilder
|
let query: Knex.QueryBuilder
|
||||||
|
|
Loading…
Reference in New Issue