insert method

Future<int?> insert({
  1. required String table,
  2. required Map<String, String?> row,
  3. bool verbose = false,
})

Insert a row in a table

table the table to insert into. row is a map of the data to insert

Returns a future with the last inserted id

Implementation

Future<int?> insert(
    {required String table,
    required Map<String, String?> row,
    bool verbose = false}) async {
  return _insert(table: table, row: row, verbose: verbose);
}