FirestoreGoogleAppsScript icon indicating copy to clipboard operation
FirestoreGoogleAppsScript copied to clipboard

Accessing specific database

Open dchun opened this issue 1 year ago • 1 comments

Hi, thanks for the library. Just wondering if there was a way to select a specific database when multiple databases exist for a project.

There is documentation provided by Google where you can get a specific instance but I didn't find any documentation on the readme for this library.

It seems like this library selects the default database after authenticating with the service account. Is there a way to initialize a specific database with this library?

dchun avatar Jan 10 '24 21:01 dchun

It has been solved in this pull request: https://github.com/grahamearley/FirestoreGoogleAppsScript/pull/166/files

StaelTchinda avatar Mar 28 '24 16:03 StaelTchinda