We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ec3191 commit 46e3280Copy full SHA for 46e3280
packages/database/src/core/view/QueryParams.ts
@@ -264,7 +264,7 @@ export class QueryParams {
264
startAt(indexValue: any, key?: string | null): QueryParams {
265
const newParams = this.copy_();
266
newParams.startSet_ = true;
267
- if (!(indexValue !== undefined)) {
+ if (indexValue === undefined) {
268
indexValue = null;
269
}
270
newParams.indexStartValue_ = indexValue;
@@ -286,7 +286,7 @@ export class QueryParams {
286
endAt(indexValue: any, key?: string | null): QueryParams {
287
288
newParams.endSet_ = true;
289
290
291
292
newParams.indexEndValue_ = indexValue;
0 commit comments