createInstance

createInstance → DynamicRecord

Create an instance of DynamicRecord that uses established connection.

Parameters:

  • connection: object - Connection object created with `createConnection()`
  • tableSlug: string - Identifier for the table to use with this instance

Returns:

DynamicRecord - Return the created DynamicRecord instance