Google Apps Script

Class ScriptDb

The ScriptDB service, which provides access to ScriptDbInstances. For more information, see the guide to ScriptDB.

Methods

MethodReturn typeBrief description
getMyDb()ScriptDbInstanceReturns the database associated with the current script.

Detailed documentation

getMyDb()

Returns the database associated with the current script. Each script has one and only one database.

Return

ScriptDbInstance — the database associated with the current script

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.