Fix syntax of postgres update queries

This commit is contained in:
Garrett Mills 2022-06-29 22:14:00 -05:00
parent fe9170282f
commit cf0ae260dc
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@extollo/lib",
"version": "0.9.49",
"version": "0.9.50",
"description": "The framework library that lifts up your code.",
"main": "lib/index.js",
"types": "lib/index.d.ts",

View File

@ -335,7 +335,7 @@ export class PostgreSQLDialect extends SQLDialect {
sets.push(` "${key}" = ${this.escape(data[key])}`)
}
return ['SET', ...sets].join('\n')
return `SET\n${sets.join(',\n')}`
}
public renderCreateTable(builder: TableBuilder): string {