updateWhere method
Future<List<RuntimeSettings> >
updateWhere(
- Session session, {
- required ColumnValueListBuilder<
RuntimeSettingsUpdateTable> columnValues, - required WhereExpressionBuilder<
RuntimeSettingsTable> where, - int? limit,
- int? offset,
- OrderByBuilder<
RuntimeSettingsTable> ? orderBy, - OrderByListBuilder<
RuntimeSettingsTable> ? orderByList, - bool orderDescending = false,
- Transaction? transaction,
Updates all RuntimeSettingss matching the where expression with the specified columnValues.
Returns the list of updated rows.
Implementation
Future<List<RuntimeSettings>> updateWhere(
_i1.Session session, {
required _i1.ColumnValueListBuilder<RuntimeSettingsUpdateTable>
columnValues,
required _i1.WhereExpressionBuilder<RuntimeSettingsTable> where,
int? limit,
int? offset,
_i1.OrderByBuilder<RuntimeSettingsTable>? orderBy,
_i1.OrderByListBuilder<RuntimeSettingsTable>? orderByList,
bool orderDescending = false,
_i1.Transaction? transaction,
}) async {
return session.db.updateWhere<RuntimeSettings>(
columnValues: columnValues(RuntimeSettings.t.updateTable),
where: where(RuntimeSettings.t),
limit: limit,
offset: offset,
orderBy: orderBy?.call(RuntimeSettings.t),
orderByList: orderByList?.call(RuntimeSettings.t),
orderDescending: orderDescending,
transaction: transaction,
);
}