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