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