values method

InsertStatement<Row, RS> values(
  1. Insertable<Row> row
)

Configures this insert statement to insert values from the Dart object row.

Typically, row is an instance of the companion class drift generates for tables, which allows specifying which columns to use.

Implementation

InsertStatement<Row, RS> values(Insertable<Row> row) {
  _checkNoSource();

  source = InsertFromValues.create(table, row);
  return this;
}