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