updateById method
Future<RuntimeSettings?>
updateById(
- Session session,
- int id, {
- required ColumnValueListBuilder<
RuntimeSettingsUpdateTable> columnValues, - Transaction? transaction,
Updates a single RuntimeSettings by its id with the specified columnValues.
Returns the updated row or null if no row with the given id exists.
Implementation
Future<RuntimeSettings?> updateById(
_i1.Session session,
int id, {
required _i1.ColumnValueListBuilder<RuntimeSettingsUpdateTable>
columnValues,
_i1.Transaction? transaction,
}) async {
return session.db.updateById<RuntimeSettings>(
id,
columnValues: columnValues(RuntimeSettings.t.updateTable),
transaction: transaction,
);
}