Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/builder/soft-delete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export class SoftDeleteBuilder<DB, TB extends keyof DB> extends SoftDeleteLikeBu
protected _racePredicate(): ExpressionNode {
return aliveCondition(this._cfg)
}
protected _setClause() {
protected _setClause(): { column: string; value: ExpressionNode }[] {
return [{ column: this._cfg.column, value: deletedValue(this._cfg) }]
}
protected _softDeleteMode(): "include" | undefined {
Expand Down Expand Up @@ -214,7 +214,7 @@ export class RestoreBuilder<DB, TB extends keyof DB> extends SoftDeleteLikeBuild
protected _racePredicate(): ExpressionNode {
return deletedCondition(this._cfg)
}
protected _setClause() {
protected _setClause(): { column: string; value: ExpressionNode }[] {
return [{ column: this._cfg.column, value: aliveValue(this._cfg) }]
}
protected _softDeleteMode(): "include" | undefined {
Expand Down
Loading