React Native Firebase
GitHub
npm
Preparing search index...
@react-native-firebase/firestore
modular
setDoc
Function setDoc
setDoc
<
AppModelType
,
DbModelType
extends
DocumentData
>
(
reference
:
DocumentReference
<
AppModelType
,
DbModelType
>
,
data
:
WithFieldValue
<
AppModelType
>
,
)
:
Promise
<
void
>
Type Parameters
AppModelType
DbModelType
extends
DocumentData
Parameters
reference
:
DocumentReference
<
AppModelType
,
DbModelType
>
data
:
WithFieldValue
<
AppModelType
>
Returns
Promise
<
void
>
setDoc
<
AppModelType
,
DbModelType
extends
DocumentData
>
(
reference
:
DocumentReference
<
AppModelType
,
DbModelType
>
,
data
:
PartialWithFieldValue
<
AppModelType
>
,
options
:
SetOptions
,
)
:
Promise
<
void
>
Type Parameters
AppModelType
DbModelType
extends
DocumentData
Parameters
reference
:
DocumentReference
<
AppModelType
,
DbModelType
>
data
:
PartialWithFieldValue
<
AppModelType
>
options
:
SetOptions
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Documentation
GitHub
npm
React Native Firebase
Loading...