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