findFirstRow method
Future<ServerHealthConnectionInfo?>
findFirstRow(
- DatabaseAccessor databaseAccessor, {
- WhereExpressionBuilder<
ServerHealthConnectionInfoTable> ? where, - int? offset,
- OrderByBuilder<
ServerHealthConnectionInfoTable> ? orderBy, - bool orderDescending = false,
- OrderByListBuilder<
ServerHealthConnectionInfoTable> ? orderByList, - Transaction? transaction,
Implementation
Future<ServerHealthConnectionInfo?> findFirstRow(
_i1.DatabaseAccessor databaseAccessor, {
_i1.WhereExpressionBuilder<ServerHealthConnectionInfoTable>? where,
int? offset,
_i1.OrderByBuilder<ServerHealthConnectionInfoTable>? orderBy,
bool orderDescending = false,
_i1.OrderByListBuilder<ServerHealthConnectionInfoTable>? orderByList,
_i1.Transaction? transaction,
}) async {
return databaseAccessor.db.findFirstRow<ServerHealthConnectionInfo>(
where: where?.call(ServerHealthConnectionInfo.t),
orderBy: orderBy?.call(ServerHealthConnectionInfo.t),
orderByList: orderByList?.call(ServerHealthConnectionInfo.t),
orderDescending: orderDescending,
offset: offset,
transaction: transaction ?? databaseAccessor.transaction,
);
}