MCPcopy Index your code
hub / github.com/NativeScript/firebase / Query

Class Query

packages/firebase-database/index.d.ts:22–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22export declare class Query implements IQuery {
23 readonly native: any;
24 readonly android: any;
25 readonly ios: any;
26
27 get ref(): Reference;
28
29 endAt(value: string | number | boolean, key?: string): Query;
30
31 equalTo(value: string | number | boolean, key?: string): Query;
32
33 keepSynced(bool: boolean);
34
35 limitToFirst(limit: number): Query;
36
37 limitToLast(limit: number): Query;
38
39 off(eventType?: EventType, callback?: (a: DataSnapshot, b: string) => void, context?: Record<string, any>): void;
40
41 on(eventType: EventType, callback: (data: DataSnapshot, previousChildKey: string) => void, cancelCallbackOrContext?: (a: FirebaseError) => void | Record<string, any>, context?: Record<string, any>): (a: DataSnapshot, b: string) => void;
42
43 once(eventType: EventType, successCallback?: (a: DataSnapshot, b: string) => any, failureCallbackContext?: (a: FirebaseError) => void | Record<string, any>): Promise<DataSnapshot>;
44
45 orderByChild(path: string): Query;
46
47 orderByKey(): Query;
48
49 orderByPriority(): Query;
50
51 orderByValue(): Query;
52
53 startAt(value: string | number | boolean, key?: string): Query;
54}
55
56export declare class ServerValue {
57 readonly native: any;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…