()
| 1375 | } |
| 1376 | |
| 1377 | clearPersistence(): Promise<void> { |
| 1378 | return new Promise((resolve, reject) => { |
| 1379 | this.native.clearPersistenceWithCompletion((error) => { |
| 1380 | if (error) { |
| 1381 | reject(FirebaseError.fromNative(error)); |
| 1382 | } else { |
| 1383 | resolve(); |
| 1384 | } |
| 1385 | }); |
| 1386 | }); |
| 1387 | } |
| 1388 | |
| 1389 | collectionGroup(collectionId: string): any { |
| 1390 | return Query.fromNative(this.native.collectionGroupWithID(collectionId)); |
nothing calls this directly
no test coverage detected