Methods

getDefault() → {string}

Get default context

Returns:

default context (Local or DB)

Type: 
string

isCurrentDb() → {boolean}

Is current context database?

Returns:

true if the current context is set to db; false otherwise

Type: 
boolean

isCurrentLocal() → {boolean}

Is current context local?

Returns:

true if the current context is set to local; false otherwise

Type: 
boolean

setDefaultAsDb() → {string}

Set default context to db

Returns:

The default context

Type: 
string

setDefaultAsLocal() → {string}

Set default context to local

Returns:

The default context

Type: 
string