grahamearley / FirestoreGoogleAppsScript

A Google Apps Script library for accessing Google Cloud Firestore.
http://grahamearley.website/blog/2017/10/18/firestore-in-google-apps-script.html
MIT License
648 stars 109 forks source link

Firestore feature missing #155

Open dsl400 opened 1 year ago

dsl400 commented 1 year ago

I could not find any information about deleteField and arrayUnion Also updating nested document field ('level0.level1.level2') does not work

LaughDonor commented 1 year ago

You can delete a field by updating a document and providing all the fields without the one you want to delete, and not use the mask flag.

How did you try to update the nested document field? Can you please elaborate on the code with the simple example, @dsl400? Thanks!