MCPcopy Index your code
hub / github.com/NativeScript/firebase / randomData

Method randomData

apps/demo/src/plugin-demos/firebase-database.ts:88–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86 }
87
88 randomData() {
89 this.database
90 .ref('/random')
91 .push({ name: 'random', float: 1.1 })
92 .then((value) => {
93 console.log('push randomData', value);
94 });
95 }
96
97 children() {
98 this.database

Callers 1

testItMethod · 0.95

Calls 4

pushMethod · 0.65
refMethod · 0.65
logMethod · 0.65
thenMethod · 0.45

Tested by

no test coverage detected