Skip to content

Commit 465389c

Browse files
committed
fix(ts): add the missing SearchQuery#select
1 parent a4a4c6a commit 465389c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

storage.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,8 @@ declare class BaseQuery<T extends Queriable> extends BaseObject {
441441
ascending(key: string[]): this;
442442
include(...keys: string[]): this;
443443
include(keys: string[]): this;
444+
select(...keys: string[]): this;
445+
select(keys: string[]): this;
444446
limit(n: number): this;
445447
skip(n: number): this;
446448

@@ -547,8 +549,6 @@ export class Query<T extends Queriable> extends BaseQuery<T> {
547549
near(key: string, point: GeoPoint): this;
548550
notContainedIn(key: string, values: any[]): this;
549551
notEqualTo(key: string, value: any): this;
550-
select(...keys: string[]): this;
551-
select(keys: string[]): this;
552552
startsWith(key: string, prefix: string): this;
553553
withinGeoBox(key: string, southwest: GeoPoint, northeast: GeoPoint): this;
554554
withinKilometers(key: string, point: GeoPoint, maxDistance: number): this;

0 commit comments

Comments
 (0)