Skip to content

Commit

Permalink
fix: fix cond
Browse files Browse the repository at this point in the history
  • Loading branch information
nichenqin committed Aug 17, 2024
1 parent 2ff85f8 commit c9bf458
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/persistence/src/abstract-qb.visitor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ export abstract class AbstractQBVisitor<T> implements IAbastractQBVisitor, ISpec
const rv = this.clone()
right.accept(rv)

const cond = this.eb.and([lv.cond, rv.cond])
this.addCond(cond)
// const cond = this.eb.and([lv.cond, rv.cond])
// this.addCond(cond)

return this
}
Expand All @@ -58,8 +58,8 @@ export abstract class AbstractQBVisitor<T> implements IAbastractQBVisitor, ISpec
const rv = this.clone()
right.accept(rv)

const cond = this.eb.or([lv.cond, rv.cond])
this.addCond(cond)
// const cond = this.eb.or([lv.cond, rv.cond])
// this.addCond(cond)

return this
}
Expand All @@ -69,7 +69,7 @@ export abstract class AbstractQBVisitor<T> implements IAbastractQBVisitor, ISpec
v.setIsNot()

spec.accept(v)
this.addCond(v.cond)
// this.addCond(v.cond)

return this
}
Expand Down

0 comments on commit c9bf458

Please sign in to comment.