Describes a one to many relationship between a single parent and child.
Describes a one to many relationship between a single parent and child. This is an intermediate class for parsing SQL results, then flattening.
The type of the parent object.
The type of the child object.
The parent object which contains a list of child objects.
The child object.
A wrapper for a RowParser[OneTomany[A, B]]
to control flattening of the result set.
A wrapper for a RowParser[OneTomany[A, B]]
to control flattening of the result set.
The underlying Anorm parser used.
Holds a RelationalParser
and a function that describes what to do with the result List
.
Holds a SimpleSql[T]
statement created from SQL(...)
in order to apply the underlying RowParser
,
then use RowFlattener
s to flatten the relational structure into the parent object.
A Function-like class to describe how to copy a list of child objects into their respective parents.
A Function-like class to describe how to copy a list of child objects into their respective parents.
The type of the parent object in a one-to-many relation.
The type of the child object in a one-to-many relation.
A function that takes a parent and a list of it's children and returns the parent with the children nested inside.
Holds several apply
methods to make defining parsers a bit cleaner.
Includes extra apply
methods for each RowFlattener
arity.
Implicitly convert SqlQuery
to RelationalSQL[Row]
Implicitly convert SqlQuery
to RelationalSQL[Row]
A RelationalSQL
wrapper of the SqlQuery
as SimpleSql[Row]
Implicitly convert SimpleSql[T]
to RelationalSQL[T]
for almost seemless integration
Implicitly convert SimpleSql[T]
to RelationalSQL[T]
for almost seemless integration
A RelationalSQL
wrapper of SimpleSql