Hide
Apps Script

Class ScriptDbInstance

ScriptDbInstance

Deprecated. ScriptDB was deprecated on May 15, 2014, and will be turned off on November 20, 2014. To move your data to a different type of database, see the guide to migrating from ScriptDB.

A JavaScript object database for permanently storing data. Use query(query) to retrieve items, save(item) to create or update them, and remove(item) to delete them. When modifying more than one item at a time use the batch methods. The methods that return QueryOperator are used for constructing query objects and do not initiate requets to the database.

Deprecated methods