insert abstract method

Future<DbResult> insert(
  1. String table,
  2. Map<String, dynamic> data
)

Inserts a new row into the specified table.

  • data: A map of column names and values. Returns the inserted row(s) if supported.

Implementation

Future<DbResult> insert(String table, Map<String, dynamic> data);