diff --git a/src/database.ts b/src/database.ts index 618b98b..dbde1ef 100644 --- a/src/database.ts +++ b/src/database.ts @@ -294,7 +294,7 @@ export class DatabaseTable { // cockroach/pg do not support limit in update queries so we have to case this return this.updateAll(data)` WHERE "${this.primaryKeyName}" = ${primaryKey} - ${this.db.type === 'mysql' ? SQL` LIMIT 1` : ''} + ${this.db.type === 'mysql' ? SQL` LIMIT 1` : SQL``} `; } }