Uses of Class
org.javalite.activejdbc.LazyList
Packages that use LazyList
-
Uses of LazyList in org.javalite.activejdbc
Subclasses of LazyList in org.javalite.activejdbcModifier and TypeClassDescriptionclass
SuperLazyList<T extends Model>
The purpose of this class is to providetoMaps()
method in cases of eager loading of dependencies.Methods in org.javalite.activejdbc that return LazyListModifier and TypeMethodDescriptionScopeBuilder.all()
Use in case the scopes define all criteria you need.Synonym ofModel.where(String, Object...)
Model.findAll()
This method returns all records from this table.Free form query finder.Provides a list of child models in one to many, many to many and polymorphic associations, but in addition also allows to filter this list by criteria.This methods supports one to many, many to many relationships as well as polymorphic associations.Paginator.getPage()
Paginator.getPage(int pageNumber)
This method will return a list of records for a specific page.This method includes associated objects.LazyList.limit(long limit)
This method limits the number of results in the resultset.SuperLazyList.limit(long limit)
LazyList.load()
This method exists to force immediate load from DB.SuperLazyList.load()
LazyList.offset(long offset)
This method sets an offset of a resultset.SuperLazyList.offset(long offset)
Use this method to order results by a column.Finder method for DB queries based on table represented by this model.Applies additional criteria to scopes defined in the model.