React Native Firebase
GitHub
npm
Preparing search index...
@react-native-firebase/firestore
types/firestore
QueryDocumentSnapshot
Class QueryDocumentSnapshot<AppModelType, DbModelType>
Type Parameters
AppModelType
=
DocumentData
DbModelType
extends
DocumentData
=
DocumentData
Hierarchy (
View Summary
)
DocumentSnapshot
<
AppModelType
,
DbModelType
>
QueryDocumentSnapshot
Index
Accessors
id
ref
Constructors
constructor
Methods
data
exists
get
Properties
metadata
Accessors
id
get
id
()
:
string
Returns
string
ref
get
ref
()
:
DocumentReference
<
AppModelType
,
DbModelType
>
Returns
DocumentReference
<
AppModelType
,
DbModelType
>
Constructors
constructor
new
QueryDocumentSnapshot
<
AppModelType
=
DocumentData
,
DbModelType
extends
DocumentData
=
DocumentData
,
>
()
:
QueryDocumentSnapshot
<
AppModelType
,
DbModelType
>
Type Parameters
AppModelType
=
DocumentData
DbModelType
extends
DocumentData
=
DocumentData
Returns
QueryDocumentSnapshot
<
AppModelType
,
DbModelType
>
Methods
data
data
(
options
?:
SnapshotOptions
)
:
AppModelType
Parameters
Optional
options
:
SnapshotOptions
Returns
AppModelType
exists
exists
()
:
this
is
QueryDocumentSnapshot
<
AppModelType
,
DbModelType
>
Returns
this
is
QueryDocumentSnapshot
<
AppModelType
,
DbModelType
>
get
get
(
fieldPath
:
string
|
FieldPath
,
options
?:
SnapshotOptions
)
:
any
Parameters
fieldPath
:
string
|
FieldPath
Optional
options
:
SnapshotOptions
Returns
any
Properties
Readonly
metadata
metadata
:
SnapshotMetadata
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Accessors
id
ref
Constructors
constructor
Methods
data
exists
get
Properties
metadata
Documentation
GitHub
npm
React Native Firebase
Loading...