insert<T> method

Future<T> insert <T>(Insert st)
override

Inserts a record into the table

Implementation

Future<T> insert<T>(Insert st) async {
  String strSt = composeInsert(st);
  sj.Results ret = await _connection.execute(strSt);
  if (ret.isEmpty || ret.first.isEmpty) return null;
  return ret.first.first;
}