File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
src/main/java/com/google/firebase/firestore Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 5
5
- [ fixed] Fixed calculation of SQLite database size on Android 9 Pie devices.
6
6
Previous method could be off by a few MBs on these devices, potentially
7
7
delaying garbage collection.
8
- - [ feature] You can now query across all collections in your database with a
9
- given collection ID using the ` FirebaseFirestore.collectionGroup() ` method.
10
8
11
9
# 18.0.1
12
10
- [ fixed] Fixed an issue where Firestore would crash if handling write batches
Original file line number Diff line number Diff line change @@ -235,6 +235,7 @@ public DocumentReference document(@NonNull String documentPath) {
235
235
return DocumentReference .forPath (ResourcePath .fromString (documentPath ), this );
236
236
}
237
237
238
+ // TODO(b/116617988): Expose API publicly once backend support is ready (and add to CHANGELOG.md).
238
239
/**
239
240
* Creates and returns a new @link{Query} that includes all documents in the database that are
240
241
* contained in a collection or subcollection with the given @code{collectionId}.
@@ -244,8 +245,8 @@ public DocumentReference document(@NonNull String documentPath) {
244
245
* @return The created Query.
245
246
*/
246
247
@ NonNull
247
- @ PublicApi
248
- public Query collectionGroup (@ NonNull String collectionId ) {
248
+ // @PublicApi
249
+ /* public */ Query collectionGroup (@ NonNull String collectionId ) {
249
250
checkNotNull (collectionId , "Provided collection ID must not be null." );
250
251
if (collectionId .contains ("/" )) {
251
252
throw new IllegalArgumentException (
You can’t perform that action at this time.
0 commit comments