findFirstRow<T extends TableRow> method
Future<T?>
findFirstRow<T extends TableRow>({
- Expression? where,
- int? offset,
- Column? orderBy,
- List<
Order> ? orderByList, - bool orderDescending = false,
- Transaction? transaction,
- Include? include,
Find a single TableRow from a table, using the provided where
Implementation
Future<T?> findFirstRow<T extends TableRow>({
Expression? where,
int? offset,
Column? orderBy,
List<Order>? orderByList,
bool orderDescending = false,
Transaction? transaction,
Include? include,
}) async {
return await _databaseConnection.findFirstRow<T>(
_session,
where: where,
offset: offset,
orderBy: orderBy,
orderByList: orderByList,
orderDescending: orderDescending,
transaction: transaction,
include: include,
);
}