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