updateRow method

Updates a single ServerHealthMetric. 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<ServerHealthMetric> updateRow(
  _i1.Session session,
  ServerHealthMetric row, {
  _i1.ColumnSelections<ServerHealthMetricTable>? columns,
  _i1.Transaction? transaction,
}) async {
  return session.db.updateRow<ServerHealthMetric>(
    row,
    columns: columns?.call(ServerHealthMetric.t),
    transaction: transaction,
  );
}