Class: insert

insert(table, record, options) → {Operation}

new insert(table, record, options) → {Operation}

Insert a record
Parameters:
Name Type Description
table string The target table
record object Payload data for the record as a JS object
options object Optional options argument
Source:
Returns:
Type
Operation
Example
execute(
  insert(table, record, {setNull: ["'undefined'", "''"], logValues: false})
)(state)