Package | Description |
---|---|
com.google.cloud.firestore |
Modifier and Type | Method and Description |
---|---|
CollectionReference |
Firestore.collection(String path)
Gets a
CollectionReference that refers to the collection at the specified path. |
CollectionReference |
DocumentReference.collection(String collectionPath)
Gets a CollectionReference instance that refers to the collection that is a child of this
document.
|
CollectionReference |
DocumentReference.getParent()
A reference to the Collection to which this DocumentReference belongs to.
|
Modifier and Type | Method and Description |
---|---|
Iterable<CollectionReference> |
Firestore.listCollections()
Fetches the root collections that are associated with this Firestore database.
|
Iterable<CollectionReference> |
DocumentReference.listCollections()
Fetches the subcollections that are direct children of this document.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.core.ApiFuture<Void> |
Firestore.recursiveDelete(CollectionReference reference)
Recursively deletes all documents and subcollections at and under the specified level.
|
com.google.api.core.ApiFuture<Void> |
Firestore.recursiveDelete(CollectionReference reference,
BulkWriter bulkWriter)
Recursively deletes all documents and subcollections at and under the specified level.
|
Copyright © 2023 Google LLC. All rights reserved.