Skip to content

Commit 043f9fc

Browse files
feat: equalTo query operator implementation
1 parent bd491f4 commit 043f9fc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lib/query.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,4 +264,8 @@ export class Query extends BaseQuery {
264264
this._parameters.$and = paramsList;
265265
return this;
266266
}
267+
equalTo(key: string, value: string | number | boolean): Query {
268+
this._parameters[key] = value;
269+
return this;
270+
}
267271
}

0 commit comments

Comments
 (0)