Click here to see your recently viewed pages and most viewed pages.
Apps Script

Class ScriptDbResult


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.

An object that provides iterator-like access to the results of a database query. Use the methods hasNext() and next() in a loop to access all the results.


 var db = ScriptDb.getMyDb();
 var results = db.query({type: 'person'});
 while (results.hasNext()) {
   var item =;
   // Do something with the item.

Deprecated methods