Skip to content

Commit

Permalink
Merge branch 'main' into release/v1.0.0-60
Browse files Browse the repository at this point in the history
  • Loading branch information
nichenqin authored Sep 8, 2024
2 parents 2446631 + 800ee17 commit a28f9ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/persistence/src/record/record.filter-visitor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,10 @@ export class RecordFilterVisitor extends AbstractQBVisitor<RecordDO> implements
const cond = this.eb.eb(this.getFieldId(spec), "=", spec.value)
this.addCond(cond)
}
percentageEqual(spec: PercentageEqual): void {
const cond = this.eb.eb(this.getFieldId(spec), "=", spec.value)
this.addCond(cond)
}
stringMin(spec: StringMin): void {
const cond = this.eb.eb(this.eb.fn("LENGTH", [this.getFieldId(spec)]), ">=", spec.min)
this.addCond(cond)
Expand Down

0 comments on commit a28f9ff

Please sign in to comment.