updateRow method

Updates a single DatabaseMigrationVersion. The row needs to have its id set. Optionally, a list of columns can be provided to only update those columns. Defaults to all columns.

Implementation

Future<DatabaseMigrationVersion> updateRow(
  _is.DatabaseSession session,
  DatabaseMigrationVersion row, {
  _is.ColumnSelections<DatabaseMigrationVersionTable>? columns,
  _is.Transaction? transaction,
}) async {
  return session.db.updateRow<DatabaseMigrationVersion>(
    row,
    columns: columns?.call(DatabaseMigrationVersion.t),
    transaction: transaction,
  );
}