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