updateRow method

Future<OfflineSyncSpaceMember> updateRow(
  1. DatabaseSession session,
  2. OfflineSyncSpaceMember row, {
  3. ColumnSelections<OfflineSyncSpaceMemberTable>? columns,
  4. Transaction? transaction,
})

Updates a single OfflineSyncSpaceMember. 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<OfflineSyncSpaceMember> updateRow(
  _isd.DatabaseSession session,
  OfflineSyncSpaceMember row, {
  _isd.ColumnSelections<OfflineSyncSpaceMemberTable>? columns,
  _isd.Transaction? transaction,
}) async {
  return session.db.updateRow<OfflineSyncSpaceMember>(
    row,
    columns: columns?.call(OfflineSyncSpaceMember.t),
    transaction: transaction,
  );
}