listCollections method

JSPromise<JSArray<CollectionReference>> listCollections()

Fetches the root collections that are associated with this Firestore database.

@returns A Promise that resolves with an array of CollectionReferences.

Implementation

external JSPromise<JSArray<CollectionReference>> listCollections();