FirestoreGoogleAppsScript
FirestoreGoogleAppsScript copied to clipboard
A Google Apps Script library for accessing Google Cloud Firestore.
## Minimal code to reproduce the problem Create an empty document (no fields) in the firestore "test_col/test_doc" ```javascript const firestore = FirestoreApp.getFirestore(email, key, projectId); firestore.createDocument('test_col/test_doc', {}); var data = firestore.getDocument('test_col/test_doc');...
I neet to send data from googlesheet from drive addon to firestore database but I am getting error like : Exception: Request to https://oauth2.googleapis.com/token failed because the URL has not...
Hi, is it possible to design queries with multiple filters? firestore.query(...).Where(...).Execute() returns an array of Documents and not a CollectionReference, and the method described here https://stackoverflow.com/questions/48036975/firestore-multiple-conditional-where-clauses (chaining .where queries on...
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...
## Explain the Problem in Detail Is it possible to add data in Google Sheets as an array field-type in Firestore? In the Firestore docs, it has an example of...
I see that since #87 this library was converted to Typescript. What's the correct way to import typescript definitions so that it can be used within VSCode? ## Minimal Code...
## Is your feature request related to a problem? Yes, to a degree. I spent quite a bit of time trying to figure out the updateDocument specific field functionality. I...
Right now, in order to `delete` or `modify` or `create` a batch of documents to a collection, there is no simple way. All we have to do is to query,...
## Minimal code to reproduce the problem ```javascript const firestore = FirestoreApp.getFirestore(email, key, projectId); firestore.query('my_collection') .Where('document', 'array-contains-any', ['abc']) .Execute() ``` ## Expected Behavior - Able to use Firebase operators [`in`,...
Thank you for this amazing work. I would love to see the feature group collection query. It simplifies so much complexity.