Class: insertMany

Adaptor~insertMany(table, records, options) → {Operation}

new insertMany(table, records, options) → {Operation}

Insert many records, using the keys of the first as the column template
Parameters:
Name Type Description
table string The target table
records array An array or a function that takes state and returns an array
options object Optional options argument
Source:
Returns:
Type
Operation
Example
insertMany('users', state => state.data.recordArray, { setNull: "'undefined'", logValues: true });