FirestoreGoogleAppsScript
FirestoreGoogleAppsScript copied to clipboard
A Google Apps Script library for accessing Google Cloud Firestore.
Please consider making the mask in `updateDocument(path, fields, mask = false)` true instead of false. By default the expectation of the end-user is that the fields specified in `fields` are...
## Explain the Problem in Detail I have thousands of items that I want to update. Currently, there's only `updateDocument()` API available, which only updates a single data. Since Apps...
Resolves #65 , resolves #54 This allows batchwrites which has a solution for URL limit since the mask is put in the body. I did forget to remove one line...
## Minimal code to reproduce the problem ```javascript const firestore = FirestoreApp.getFirestore(email, key, projectId); var my_variable_Timestamp = Utilities.formatDate(new Date(), 'GMT -1', 'yyyy-MM-dd\'T\'HH:mm:ss.SSS\'Z\'') const docsFS = firestore.query("collection1").Where("timestampField", "==", my_variable_Timestamp ).Execute(); ```...
Simple change enabling access to multiple databases. It is fully backward compatible.
I didn't find this feature on the project Readme, but I think it would be great to have it in the library as well. For what I'm building I need...
## Is your feature request related to a problem? In [`README.md#configuration-template`](https://github.com/grahamearley/FirestoreGoogleAppsScript#configuration-template) when talking about using `Properties Service` to retrieve the configuration data, specifically the `private_key`. If the key is set...
Fix #146 Unable to update nested fields with custome mask in updateDocument() 1. Add a flag 'nestedField' in updateDocument() to control if treating fields with dot notation as nested fields...
Please add support for [FieldTransform](https://firebase.google.com/docs/firestore/reference/rest/v1beta1/Write#fieldtransform). It's a very important feature in Firestore.
I could not find any information about `deleteField` and `arrayUnion` Also updating nested document field ('level0.level1.level2') does not work