scalikejdbc.OneToManySQL
See theOneToManySQL companion object
class OneToManySQL[A, B, E <: WithExtractor, Z](val statement: String, val rawParameters: Seq[Any])(val one: WrappedResultSet => A)(val toMany: WrappedResultSet => Option[B])(val zExtractor: (A, Seq[B]) => Z) extends SQL[Z, E], AllOutputDecisionsUnsupported[Z, E]
Attributes
- Companion
- object
- Source
- OneToManySQL.scala
- Graph
-
- Supertypes
Members list
Type members
Inherited types
Value members
Concrete methods
Set execution type as collection.
Set execution type as collection.
Attributes
- Returns
-
SQL instance
- Definition Classes
- Source
- OneToManySQL.scala
Set execution type as first.
Set execution type as first.
Attributes
- Returns
-
SQL instance
- Definition Classes
- Source
- OneToManySQL.scala
Same as #first.
Set execution type as iterable.
Set execution type as iterable.
Attributes
- Returns
-
SQL instance
- Definition Classes
- Source
- OneToManySQL.scala
Set execution type as list.
Set execution type as list.
Attributes
- Returns
-
SQL instance
- Definition Classes
- Source
- OneToManySQL.scala
Attributes
- Source
- OneToManySQL.scala
Set execution type as single.
Set execution type as single.
Attributes
- Returns
-
SQL instance
- Definition Classes
- Source
- OneToManySQL.scala
Same as #collection
Same as #iterable.
Same as #list
Same as #single.
Inherited methods
def batchAndReturnGeneratedKey(generatedKeyName: String, parameters: Seq[Any]*): SQLBatchWithGeneratedKey
def executeUpdateWithFilters(before: PreparedStatement => Unit, after: PreparedStatement => Unit): SQLUpdate
def executeWithFilters(before: PreparedStatement => Unit, after: PreparedStatement => Unit): SQLExecution
def largeUpdateWithFilters(before: PreparedStatement => Unit, after: PreparedStatement => Unit): SQLLargeUpdate
Maps values from each scalikejdbc.WrappedResultSet object.
Maps values from each scalikejdbc.WrappedResultSet object.
Type parameters
- A
-
return type
Value parameters
- f
-
extractor function
Attributes
Maps values as a Map value from each scalikejdbc.WrappedResultSet object.
Maps values as a Map value from each scalikejdbc.WrappedResultSet object.
Attributes
def updateWithFilters(before: PreparedStatement => Unit, after: PreparedStatement => Unit): SQLUpdate
Concrete fields
Attributes
- Source
- OneToManySQL.scala
Attributes
- Source
- OneToManySQL.scala
Attributes
- Source
- OneToManySQL.scala
Attributes
- Source
- OneToManySQL.scala
Attributes
- Source
- OneToManySQL.scala
Inherited fields
Attributes
- Inherited from:
- AllOutputDecisionsUnsupported
- Source
- RelationalSQL.scala
In this article