Skip to content

Commit

Permalink
Build deno [autogenerated commit]
Browse files Browse the repository at this point in the history
  • Loading branch information
oguimbal committed Nov 27, 2024
1 parent 9049d20 commit 3462581
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .deno/transforms/eq-filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,20 @@ export class EqFilter extends FilterBase {
}

hasItem(item: Row, t: _Transaction) {
const isEq = this.op === 'eq';
const val = this.onValue.get(item, t);

if (this.matchNull && nullIsh(val)) {
return isEq;
}
if (nullIsh(val)) {
return false;
}
const eq = this.onValue.type.equals(val, this.equalsCst);
if (nullIsh(eq)) {
return false;
}
return this.op === 'eq' ? !!eq : !eq;
return isEq ? !!eq : !eq;
}

constructor(private onValue: IValue
Expand Down

0 comments on commit 3462581

Please sign in to comment.