React Native Firebase
Documentation
GitHub
npm
Preparing search index...
@react-native-firebase/database
types/database
IteratedDataSnapshot
Interface IteratedDataSnapshot
interface
IteratedDataSnapshot
{
key
:
string
;
ref
:
DatabaseReference
;
get
priority
()
:
string
|
number
|
null
;
get
size
()
:
number
;
child
(
path
:
string
)
:
DataSnapshot
;
exists
()
:
boolean
;
exportVal
()
:
any
;
forEach
(
action
:
(
child
:
IteratedDataSnapshot
)
=>
boolean
|
void
)
:
boolean
;
hasChild
(
path
:
string
)
:
boolean
;
hasChildren
()
:
boolean
;
toJSON
()
:
object
|
null
;
val
()
:
any
;
}
Hierarchy (
View Summary
)
DataSnapshot
IteratedDataSnapshot
Index
Accessors
priority
size
Methods
child
exists
export
Val
for
Each
has
Child
has
Children
to
JSON
val
Properties
key
ref
Accessors
priority
get
priority
()
:
string
|
number
|
null
Returns
string
|
number
|
null
size
get
size
()
:
number
Returns
number
Methods
child
child
(
path
:
string
)
:
DataSnapshot
Parameters
path
:
string
Returns
DataSnapshot
exists
exists
()
:
boolean
Returns
boolean
export
Val
exportVal
()
:
any
Returns
any
for
Each
forEach
(
action
:
(
child
:
IteratedDataSnapshot
)
=>
boolean
|
void
)
:
boolean
Parameters
action
:
(
child
:
IteratedDataSnapshot
)
=>
boolean
|
void
Returns
boolean
has
Child
hasChild
(
path
:
string
)
:
boolean
Parameters
path
:
string
Returns
boolean
has
Children
hasChildren
()
:
boolean
Returns
boolean
to
JSON
toJSON
()
:
object
|
null
Returns
object
|
null
val
val
()
:
any
Returns
any
Properties
key
key
:
string
Readonly
ref
ref
:
DatabaseReference
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Accessors
priority
size
Methods
child
exists
export
Val
for
Each
has
Child
has
Children
to
JSON
val
Properties
key
ref
Documentation
Documentation
GitHub
npm
React Native Firebase
Loading...