delete method

Deletes all DatabaseMigrationVersions in the list and returns the deleted rows. This is an atomic operation, meaning that if one of the rows fail to be deleted, none of the rows will be deleted.

Implementation

Future<List<DatabaseMigrationVersion>> delete(
  _i1.Session session,
  List<DatabaseMigrationVersion> rows, {
  _i1.Transaction? transaction,
}) async {
  return session.db.delete<DatabaseMigrationVersion>(
    rows,
    transaction: transaction,
  );
}