updateById method

Updates a single ServerHealthConnectionInfo by its id with the specified columnValues. Returns the updated row or null if no row with the given id exists.

Implementation

Future<ServerHealthConnectionInfo?> updateById(
  _is.DatabaseSession session,
  int id, {
  required _is.ColumnValueListBuilder<ServerHealthConnectionInfoUpdateTable>
  columnValues,
  _is.Transaction? transaction,
}) async {
  return session.db.updateById<ServerHealthConnectionInfo>(
    id,
    columnValues: columnValues(ServerHealthConnectionInfo.t.updateTable),
    transaction: transaction,
  );
}