Skip to main content

Get

Get Method

Table Of Get Method

Parameters

  • table (table name to get the data from)
  • key (the key name you want to get your data from it)
get(table, key)

Example Usage

await db.get('my_table', 'foo');
// -> Gets foo key name value (which is bar) in the table 'my_table'

Returned Data

Returns the stored data in provided key name

bar