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