Skip to content

Commit 77f63f2

Browse files
committed
fixed bug: update with alias is not allowed
1 parent 0b5d4ab commit 77f63f2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "database-builder",
3-
"version": "0.0.13",
3+
"version": "0.0.14",
44
"description": "Framework to assist in database manipulation (DDL and CRUD)",
55
"main": "./src/index.js",
66
"types": "./src/index.d.ts",

src/crud/update/update-builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class UpdateBuilder<T> extends CrudBaseBuilder<T, UpdateColumnsBuilder<T>
2424
public where(
2525
whereCallback: (where: WhereBuilder<T>) => void,
2626
): UpdateBuilder<T> {
27-
return super.whereBase(whereCallback, this);
27+
return super.whereBase(whereCallback, this, false);
2828
}
2929

3030
protected buildBase(): CrudCompiled {

0 commit comments

Comments
 (0)