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

Function toFIRDataEventType

packages/firebase-database/index.ios.ts:173–186  ·  view source on GitHub ↗
(event: EventType)

Source from the content-addressed store, hash-verified

171}
172
173function toFIRDataEventType(event: EventType): FIRDataEventType {
174 switch (event) {
175 case 'child_added':
176 return FIRDataEventType.ChildAdded;
177 case 'child_changed':
178 return FIRDataEventType.ChildChanged;
179 case 'child_moved':
180 return FIRDataEventType.ChildMoved;
181 case 'child_removed':
182 return FIRDataEventType.ChildRemoved;
183 case 'value':
184 return FIRDataEventType.Value;
185 }
186}
187
188export class Query implements IQuery {
189 _native: FIRDatabaseQuery;

Callers 2

onMethod · 0.85
onceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…