React Native Firebase
GitHub
npm
Preparing search index...
@react-native-firebase/firestore
types/firestore
QuerySnapshot
Class QuerySnapshot<AppModelType, DbModelType>
Type Parameters
AppModelType
=
DocumentData
DbModelType
extends
DocumentData
=
DocumentData
Index
Accessors
docs
empty
size
Constructors
constructor
Methods
doc
Changes
for
Each
Properties
metadata
query
Accessors
docs
get
docs
()
:
QueryDocumentSnapshot
<
AppModelType
,
DbModelType
>
[]
Returns
QueryDocumentSnapshot
<
AppModelType
,
DbModelType
>
[]
empty
get
empty
()
:
boolean
Returns
boolean
size
get
size
()
:
number
Returns
number
Constructors
constructor
new
QuerySnapshot
<
AppModelType
=
DocumentData
,
DbModelType
extends
DocumentData
=
DocumentData
,
>
()
:
QuerySnapshot
<
AppModelType
,
DbModelType
>
Type Parameters
AppModelType
=
DocumentData
DbModelType
extends
DocumentData
=
DocumentData
Returns
QuerySnapshot
<
AppModelType
,
DbModelType
>
Methods
doc
Changes
docChanges
(
options
?:
SnapshotListenOptions
,
)
:
DocumentChange
<
AppModelType
,
DbModelType
>
[]
Parameters
Optional
options
:
SnapshotListenOptions
Returns
DocumentChange
<
AppModelType
,
DbModelType
>
[]
for
Each
forEach
(
callback
:
(
result
:
QueryDocumentSnapshot
<
AppModelType
,
DbModelType
>
,
)
=>
void
,
thisArg
?:
unknown
,
)
:
void
Parameters
callback
:
(
result
:
QueryDocumentSnapshot
<
AppModelType
,
DbModelType
>
)
=>
void
Optional
thisArg
:
unknown
Returns
void
Properties
Readonly
metadata
metadata
:
SnapshotMetadata
Readonly
query
query
:
Query
<
AppModelType
,
DbModelType
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Accessors
docs
empty
size
Constructors
constructor
Methods
doc
Changes
for
Each
Properties
metadata
query
Documentation
GitHub
npm
React Native Firebase
Loading...