We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79e8ecf commit 07493a4Copy full SHA for 07493a4
database/emulator-suite.js
@@ -13,3 +13,10 @@ export async function onDocumentReady() {
13
const db = myApp.database();
14
// [END rtdb_emulator_connect]
15
}
16
+
17
+export async function flushRealtimeDatabase(anRTDBReference) {
18
19
+ //[START rtdb_emulator_flush]
20
+ anRTDBReference.child("/").set(null);
21
+ // [END rtdb_emulator_connect]
22
+}
0 commit comments