Here's everything we announced at I/O, from new Firebase Studio features to more ways to integrate AI.
Read blog.
Send feedback
Firestore class
Stay organized with collections
Save and categorize content based on your preferences.
The Cloud Firestore service interface.
Do not call this constructor directly. Instead, use getFirestore() .
Signature:
export declare class Firestore
Properties
Property
Modifiers
Type
Description
app
FirebaseApp
The FirebaseApp associated with this Firestore
service instance.
type
'firestore-lite' | 'firestore'
Whether it's a Firestore or Firestore Lite instance.
Methods
Method
Modifiers
Description
toJSON()
Returns a JSON-serializable representation of this Firestore
instance.
Firestore.app
The FirebaseApp associated with this Firestore
service instance.
Signature:
get app () : FirebaseApp ;
Firestore.type
Whether it's a Firestore or Firestore Lite instance.
Signature:
type : 'firestore-lite' | 'firestore' ;
Firestore.toJSON()
Returns a JSON-serializable representation of this Firestore
instance.
Signature:
toJSON () : object ;
Returns:
object
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-07-22 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-07-22 UTC."],[],[]]