Entities finder builder.
Entities finder builder.
mapper
registered conditions
limit
offset
Select query builder.
Select query builder.
Returns default table alias.
Returns default table alias. This method is abstract and should be implemented with unique name. override def defaultAlias = createAlias("sm")
Extracts entity from ResultSet.
Extracts entity from ResultSet.
Extracts entity from ResultSet.
Extracts entity from ResultSet.
Extracts entity from ResultSet.
Extracts entity from ResultSet.
Associations
Associations
AutoSession definition.
AutoSession definition.
Calculates average of a column.
Calculates average of a column.
Calculates rows.
Calculates rows.
Returns column names.
Returns column names.
Returns connection pool.
Count only.
Count only.
Counts all rows by condition.
Counts all rows by condition.
Creates a new table alias for this mapper.
Creates a new table alias for this mapper.
Creates a new join definition.
Creates a new join definition.
join type
left mapper and table alias
right mapper and table alias
join condition
join definition
Join definitions that are enabled by default.
Join definitions that are enabled by default.
Default ordering condition.
Default ordering condition. NOTE: sqls"" means empty to be compatible with 1.0 API.
Returns default scope for select queries.
Returns default scope for select queries.
Returns th default select query builder for this mapper.
Returns th default select query builder for this mapper.
select query builder
Counts distinct rows.
Counts distinct rows.
One-to-Many relationship definition.
One-to-Many relationship definition.
object Member extends RelationshipFeature[Member] { oneToMany[Group]( mapper = Group, merge = (m, c) => m.copy(company = c) ) }
Creates an extractor for this query.
Creates an extractor for this query.
sql object
belongsTo associations
hasOne associations
hasMany associations
sql object
Extracts entity with one-to-one tables.
Extracts entity with one-to-one tables.
result set
belongsTo extractors
hasOne extractors
entity
Finds all entities.
Finds all entities.
Finds all entities by condition.
Finds all entities by condition.
Finds all entities by condition and with pagination.
Finds all entities by condition and with pagination.
Finds all entities by condition and with pagination.
Finds all entities by condition and with pagination.
Finds all entities with pagination.
Finds all entities with pagination.
Finds all entities with pagination.
Finds all entities with pagination.
Finds an entity by condition.
Finds an entity by condition.
Returns typed value from a strong parameter.
Returns typed value from a strong parameter.
field name
actual value
param type definition
typed value if exists
Predicates the field name is valid.
Predicates the field name is valid.
Appends join definition on runtime.
Appends join definition on runtime.
associations
self
Appends limit part.
Calculates minimum value of a column.
Calculates minimum value of a column.
Calculates minimum value of a column.
Calculates minimum value of a column.
Appends offset part.
Appends pagination settings as limit/offset.
Appends pagination settings as limit/offset.
pagination
query buildder
Returns primary key name.
Returns primary key name. (default: "id") Notice: Not a column name but field name. For example, not "first_name" but "firstName"
Returns a select query builder that all associations are joined.
Returns a select query builder that all associations are joined.
sql object
belongsTo associations
hasOne associations
hasMany associations
select query builder
Returns select query builder object to simply fetch rows without other joined tables.
Returns select query builder object to simply fetch rows without other joined tables.
Calculates sum of a column.
Calculates sum of a column.
Returns table name.
Returns table name.
Expects mapper's name + primary key name by default.
Expects mapper's name + primary key name by default.
enitty type
mapper
fk name
Appends a raw where condition.
Appends where conditions.
Provides a code block with a table alias.
Provides a code block with a table alias.
Provides a code block with a table alias.
Provides a code block with a table alias.
Provides a code block with the column name provider.
Provides a code block with the column name provider.
Basic mapper for tables that don't have single primary key.
entity