Functions Const add Documentadd Document( collectionName: string , variable: Variable , callbackStateVariable?: Variable ) : void Parameters collectionName: string Optional callbackStateVariable: Variable Returns void Const delete Documentdelete Document( collectionName: string , documentName: string , callbackStateVariable?: Variable ) : void Parameters collectionName: string documentName: string Optional callbackStateVariable: Variable Returns void Const delete Fielddelete Field( collectionName: string , documentName: string , field: string , callbackStateVariable?: Variable ) : void Parameters collectionName: string documentName: string field: string Optional callbackStateVariable: Variable Returns void Const execute Queryexecute Query( queryID: string , callbackValueVariable?: Variable , callbackStatusVariable?: Variable ) : void Parameters queryID: string Optional callbackValueVariable: Variable Optional callbackStatusVariable: Variable Returns void Const get Documentget Document( collectionName: string , documentName: string , callbackValueVariable?: Variable , callbackStateVariable?: Variable ) : void Parameters collectionName: string documentName: string Optional callbackValueVariable: Variable Optional callbackStateVariable: Variable Returns void Const get Fieldget Field( collectionName: string , documentName: string , field: string , callbackValueVariable?: Variable , callbackStateVariable?: Variable ) : void Parameters collectionName: string documentName: string field: string Optional callbackValueVariable: Variable Optional callbackStateVariable: Variable Returns void Const get Server Timestampget Server Timestamp( ) : string Const has Documenthas Document( collectionName: string , documentName: string , callbackValueVariable?: Variable , callbackStateVariable?: Variable ) : void Parameters collectionName: string documentName: string Optional callbackValueVariable: Variable Optional callbackStateVariable: Variable Returns void Const has Fieldhas Field( collectionName: string , documentName: string , field: string , callbackValueVariable?: Variable , callbackStateVariable?: Variable ) : void Parameters collectionName: string documentName: string field: string Optional callbackValueVariable: Variable Optional callbackStateVariable: Variable Returns void Const list Documentslist Documents( collectionName: string , callbackValueVariable?: Variable , callbackStateVariable?: Variable ) : void Parameters collectionName: string Optional callbackValueVariable: Variable Optional callbackStateVariable: Variable Returns void Const query Limitquery Limit( queryID: string , amount: number , last: boolean ) : void Parameters queryID: string amount: number last: boolean Returns void Const query Order Byquery Order By( queryID: string , field: string , direction: OrderByDirection ) : void Parameters queryID: string field: string direction: OrderByDirection Returns void Const query Skip Somequery Skip Some( queryID: string , value: number , before: boolean , includeSelf: boolean ) : void Parameters queryID: string value: number before: boolean includeSelf: boolean Returns void Const query Wherequery Where( queryID: string , field: string , op: "<" | "<=" | "==" | "!=" | ">=" | ">" | "array-contains" , value: string | number ) : void Parameters queryID: string field: string op: "<" | "<=" | "==" | "!=" | ">=" | ">" | "array-contains" value: string | number Returns void Const start Querystart Query( queryID: string , collectionName: string ) : void Parameters queryID: string collectionName: string Returns void Const start Query Fromstart Query From( queryID: string , sourceQueryID: string ) : void Parameters queryID: string sourceQueryID: string Returns void Const update Documentupdate Document( collectionName: string , variableName: string , variable: Variable , callbackStateVariable?: Variable ) : void Parameters collectionName: string variableName: string Optional callbackStateVariable: Variable Returns void Const update Fieldupdate Field( collectionName: string , documentName: string , field: string , value: any , callbackStateVariable?: Variable ) : void Parameters collectionName: string documentName: string field: string value: any Optional callbackStateVariable: Variable Returns void Const watch Querywatch Query( queryID: string , callbackValueVariable?: Variable , callbackStatusVariable?: Variable ) : void Parameters queryID: string Optional callbackValueVariable: Variable Optional callbackStatusVariable: Variable Returns void Const write Documentwrite Document( collectionName: string , variableName: string , variable: Variable , callbackStateVariable?: Variable ) : void Parameters collectionName: string variableName: string Optional callbackStateVariable: Variable Returns void Const write Fieldwrite Field( collectionName: string , documentName: string , field: string , value: any , callbackStateVariable?: Variable , merge?: boolean ) : void Parameters collectionName: string documentName: string field: string value: any Optional callbackStateVariable: Variable merge: boolean = true Returns void Settings Theme OS Light Dark
Firebase Cloud Firestore Event Tools.