This is the the driver for DB.DRIVE described in Database abstraction with google apps script
The library reference is:
This driver uses the Google Drive Service to save a JSON file representing the contents of a small database. Note that manipulation of the contents causes a rewrite of the entire object, so this particular solution is probably best for daily small amounts of data. Having said that, the performance seems pretty good. It works the same as all the other drivers, and querying sorting and limiting are all implemented. This is a fairly useful way to create JSON data as input to other apps.
The siloId is the name of the file in which to store the JSON data, and the dbId is the path of the folder in which to store the file. Here’s how to get a handler.
[crayon-60767d6b94633288004290/] <p>[su_spacer size="10"]</p> <p>[su_accordion][su_spoiler title="For more Database abstraction and GAS, see here" open="no" style="default" icon="plus" anchor="" class=""][subpages exceptme="true" childof="1484"][/su_spoiler] [/su_accordion]</p> <p>For help and information jopin our forum, follow the blog and or follow me on Twitter</p>