updateWhere method

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

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

Implementation

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