React Native Firebase
GitHub
npm
Preparing search index...
@react-native-firebase/firestore
modular
updateDoc
Function updateDoc
updateDoc
<
AppModelType
,
DbModelType
extends
DocumentData
>
(
reference
:
DocumentReference
<
AppModelType
,
DbModelType
>
,
data
:
UpdateData
<
DbModelType
>
,
)
:
Promise
<
void
>
Type Parameters
AppModelType
DbModelType
extends
DocumentData
Parameters
reference
:
DocumentReference
<
AppModelType
,
DbModelType
>
data
:
UpdateData
<
DbModelType
>
Returns
Promise
<
void
>
updateDoc
<
AppModelType
,
DbModelType
extends
DocumentData
>
(
reference
:
DocumentReference
<
AppModelType
,
DbModelType
>
,
field
:
string
|
FieldPath
,
value
:
unknown
,
...
moreFieldsAndValues
:
unknown
[]
,
)
:
Promise
<
void
>
Type Parameters
AppModelType
DbModelType
extends
DocumentData
Parameters
reference
:
DocumentReference
<
AppModelType
,
DbModelType
>
field
:
string
|
FieldPath
value
:
unknown
...
moreFieldsAndValues
:
unknown
[]
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Documentation
GitHub
npm
React Native Firebase
Loading...