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