insertRaw method

  1. @override
Future<void> insertRaw(
  1. IDatabaseTable table,
  2. IDbInsertDataRawMapper mapper
)
override

Implementation

@override
Future<void> insertRaw(
  IDatabaseTable table,
  IDbInsertDataRawMapper mapper,
) async {
  if (db == null) await createTable(table);
  final cmd = InsertCommandBuilder(table, mapper).command;
  await db!.execute(cmd);
  IDbManager.insertStream.add(mapper);
}