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