Firestore.FieldName marked as error #781
-
I my understanding, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @st-trade
Here is an example of how you can use
In case you are looking for retrieve field of the current collection's row, then you can use |
Beta Was this translation helpful? Give feedback.
-
not sure if FieldValue is exported in const { FieldValue } = require("firebase-admin/firestore"); while if you want you use it in webhooks which is esm only, you can import it like so const {FieldValue} = await import('@google-cloud/firestore'); |
Beta Was this translation helpful? Give feedback.
not sure if FieldValue is exported in
db
, to access fieldValue object in extensions or derivatives you can require itwhile if you want you use it in webhooks which is esm only, you can import it like so