updateWhere method

Future<List<FutureCallClaimEntry>> updateWhere(
  1. DatabaseSession session, {
  2. required ColumnValueListBuilder<FutureCallClaimEntryUpdateTable> columnValues,
  3. required WhereExpressionBuilder<FutureCallClaimEntryTable> where,
  4. int? limit,
  5. int? offset,
  6. OrderByBuilder<FutureCallClaimEntryTable>? orderBy,
  7. OrderByListBuilder<FutureCallClaimEntryTable>? orderByList,
  8. bool orderDescending = false,
  9. Transaction? transaction,
})

Updates all FutureCallClaimEntrys matching the where expression with the specified columnValues. Returns the list of updated rows.

Implementation

Future<List<FutureCallClaimEntry>> updateWhere(
  _i1.DatabaseSession session, {
  required _i1.ColumnValueListBuilder<FutureCallClaimEntryUpdateTable>
  columnValues,
  required _i1.WhereExpressionBuilder<FutureCallClaimEntryTable> where,
  int? limit,
  int? offset,
  _i1.OrderByBuilder<FutureCallClaimEntryTable>? orderBy,
  _i1.OrderByListBuilder<FutureCallClaimEntryTable>? orderByList,
  bool orderDescending = false,
  _i1.Transaction? transaction,
}) async {
  return session.db.updateWhere<FutureCallClaimEntry>(
    columnValues: columnValues(FutureCallClaimEntry.t.updateTable),
    where: where(FutureCallClaimEntry.t),
    limit: limit,
    offset: offset,
    orderBy: orderBy?.call(FutureCallClaimEntry.t),
    orderByList: orderByList?.call(FutureCallClaimEntry.t),
    orderDescending: orderDescending,
    transaction: transaction,
  );
}