React Native Firebase
GitHub
npm
Preparing search index...
@react-native-firebase/firestore
modular
doc
Function doc
doc
(
parent
:
Firestore
,
path
:
string
,
...
pathSegments
:
string
[]
,
)
:
DocumentReference
<
DocumentData
,
DocumentData
>
Parameters
parent
:
Firestore
path
:
string
...
pathSegments
:
string
[]
Returns
DocumentReference
<
DocumentData
,
DocumentData
>
doc
<
AppModelType
,
DbModelType
extends
DocumentData
>
(
parent
:
CollectionReference
<
AppModelType
,
DbModelType
>
,
path
?:
string
,
...
pathSegments
:
string
[]
,
)
:
DocumentReference
<
AppModelType
,
DbModelType
>
Type Parameters
AppModelType
DbModelType
extends
DocumentData
Parameters
parent
:
CollectionReference
<
AppModelType
,
DbModelType
>
Optional
path
:
string
...
pathSegments
:
string
[]
Returns
DocumentReference
<
AppModelType
,
DbModelType
>
doc
<
AppModelType
,
DbModelType
extends
DocumentData
>
(
parent
:
DocumentReference
<
AppModelType
,
DbModelType
>
,
path
:
string
,
...
pathSegments
:
string
[]
,
)
:
DocumentReference
<
DocumentData
,
DocumentData
>
Type Parameters
AppModelType
DbModelType
extends
DocumentData
Parameters
parent
:
DocumentReference
<
AppModelType
,
DbModelType
>
path
:
string
...
pathSegments
:
string
[]
Returns
DocumentReference
<
DocumentData
,
DocumentData
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Documentation
GitHub
npm
React Native Firebase
Loading...