Methods
getDefault() → {string}
Get default context
- Source
Returns:
default context (Local or DB)
- Type:
- string
isCurrentDb() → {boolean}
Is current context database?
- Source
Returns:
true if the current context is set to db; false otherwise
- Type:
- boolean
isCurrentLocal() → {boolean}
Is current context local?
- Source
Returns:
true if the current context is set to local; false otherwise
- Type:
- boolean
setDefaultAsDb() → {string}
Set default context to db
- Source
Returns:
The default context
- Type:
- string
setDefaultAsLocal() → {string}
Set default context to local
- Source
Returns:
The default context
- Type:
- string