最終更新:2023-06-26 (月) 04:59:38 (299d)
db.collection
Top / db.collection
集約
const collectionRef = db.collection('cities'); const snapshot = await collectionRef.count().get(); console.log(snapshot.data().count);
Cloud Firestore
firebase.firestore.CollectionReference
- db.collection.add
- db.collection.doc
- db.collection.endAt?
- db.collection.endBefore?
- db.collection.get?
- db.collection.isEqual?
- db.collection.limit?
- db.collection.onSnapshot?
- db.collection.orderBy
- db.collection.startAfter?
- db.collection.startAt?
- db.collection.where