Fixed knex #1463 issue

This commit is contained in:
statyan 2016-06-01 02:40:58 +03:00
parent e657aae068
commit a7802ff8f3

View File

@ -159,8 +159,7 @@ assign(QueryCompiler_MSSQL.prototype, {
columnInfo() {
const column = this.single.columnInfo;
const sql =
`select * from information_schema.columns` +
`where table_name = ? and table_schema = 'dbo'`;
`select * from information_schema.columns where table_name = ? and table_schema = 'dbo'`;
return {
sql,
bindings: [this.single.table],