OneToManies10SQLToOption

class OneToManies10SQLToOption[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, E <: WithExtractor, Z](val statement: String, val rawParameters: Seq[Any])(val one: WrappedResultSet => A)(val to1: WrappedResultSet => Option[B1], val to2: WrappedResultSet => Option[B2], val to3: WrappedResultSet => Option[B3], val to4: WrappedResultSet => Option[B4], val to5: WrappedResultSet => Option[B5], val to6: WrappedResultSet => Option[B6], val to7: WrappedResultSet => Option[B7], val to8: WrappedResultSet => Option[B8], val to9: WrappedResultSet => Option[B9], val to10: WrappedResultSet => Option[B10])(val zExtractor: (A, Seq[B1], Seq[B2], Seq[B3], Seq[B4], Seq[B5], Seq[B6], Seq[B7], Seq[B8], Seq[B9], Seq[B10]) => Z)(val isSingle: Boolean) extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies10Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, E, Z]
Companion
object
trait OneToManies10Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, E, Z]
trait RelationalSQLResultSetOperations[Z]
trait SQLToOption[Z, E]
trait SQLToResult[Z, E, [A] =>> Option[A]]
class SQL[Z, E]
trait Extractor[Z]
class Object
trait Matchable
class Any

Type members

Inherited types

Inherited from
SQL
type ThisSQL = SQL[A, E]
Inherited from
SQL

Value members

Concrete methods

override def apply(implicit session: DBSession, context: ConnectionPoolContext, hasExtractor: ThisSQL =:= SQLWithExtractor): Option[Z]
Definition Classes

Inherited methods

def batch(parameters: Seq[Any]*): SQLBatch

Binds parameters for batch

Binds parameters for batch

Value Params
parameters

parameters

Returns

SQL for batch

Inherited from
SQL
def batchAndReturnGeneratedKey(generatedKeyName: String, parameters: Seq[Any]*): SQLBatchWithGeneratedKey

Binds parameters for batch

Binds parameters for batch

Value Params
generatedKeyName

generated key name

parameters

parameters

Returns

SQL for batch

Inherited from
SQL

Binds parameters for batch

Binds parameters for batch

Value Params
parameters

parameters

Returns

SQL for batch

Inherited from
SQL
def batchByName(parameters: Seq[(String, Any)]*): SQLBatch

Binds parameters for batch

Binds parameters for batch

Value Params
parameters

parameters

Returns

SQL for batch

Inherited from
SQL
def bind(parameters: Any*): SQL[Z, E]

Binds parameters to SQL template in order.

Binds parameters to SQL template in order.

Value Params
parameters

parameters

Returns

SQL instance

Inherited from
SQL
def bindByName(parametersByName: (String, Any)*): SQL[Z, E]

Binds named parameters to SQL template.

Binds named parameters to SQL template.

Value Params
parametersByName

named parameters

Returns

SQL instance

Inherited from
SQL
def dbSettingSettings(settings: SettingsProvider): OneToManies10SQLToOption[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, E, Z]
Inherited from
SQL

Set execution type as execute

Set execution type as execute

Returns

SQL instance

Inherited from
SQL

Set execution type as executeUpdate

Set execution type as executeUpdate

Returns

SQL instance

Inherited from
SQL
def executeUpdateWithFilters(before: PreparedStatement => Unit, after: PreparedStatement => Unit): SQLUpdate

Set execution type as executeUpdate with filters

Set execution type as executeUpdate with filters

Value Params
after

after filter

before

before filter

Returns

SQL instance

Inherited from
SQL
def executeWithFilters(before: PreparedStatement => Unit, after: PreparedStatement => Unit): SQLExecution

Set execution type as execute with filters

Set execution type as execute with filters

Value Params
after

after filter

before

before filter

Returns

SQL instance

Inherited from
SQL
override def extractor: WrappedResultSet => Z
Definition Classes
SQL -> Extractor
Inherited from
SQL
def fetchSize: Option[Int]

Returns fetchSize for this query.

Returns fetchSize for this query.

Returns

fetch size

Inherited from
SQL
def fetchSize(fetchSize: Option[Int]): OneToManies10SQLToOption[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, E, Z]
Inherited from
SQL
def fetchSize(fetchSize: Int): OneToManies10SQLToOption[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, E, Z]

Set fetchSize for this query.

Set fetchSize for this query.

Value Params
fetchSize

fetch size

Returns

this

Inherited from
SQL
override def first: SQLToOption[Z, E]
def foldLeft[A](z: A)(op: (A, WrappedResultSet) => A)(implicit session: DBSession): A

folding into one value

folding into one value

Value Params
op

operation

z

initial value

Inherited from
SQL
def foreach(op: WrappedResultSet => Unit)(implicit session: DBSession): Unit

Apply the operation to all elements of result set

Apply the operation to all elements of result set

Value Params
op

operation

Inherited from
SQL
override def headOption: SQLToOption[Z, E]
override def iterable: SQLToIterable[Z, E]
def largeBatch(parameters: Seq[Any]*): SQLLargeBatch

Binds parameters for largeBatch

Binds parameters for largeBatch

Value Params
parameters

parameters

Returns

SQL for batch

Inherited from
SQL

Set execution type as executeLargeUpdate

Set execution type as executeLargeUpdate

Returns

SQL instance

Inherited from
SQL
def largeUpdateWithFilters(before: PreparedStatement => Unit, after: PreparedStatement => Unit): SQLLargeUpdate

Set execution type as executeLargeUpdate with filters

Set execution type as executeLargeUpdate with filters

Value Params
after

after filter

before

before filter

Returns

SQL instance

Inherited from
SQL
override def list: SQLToList[Z, E]
def map[A](f: WrappedResultSet => A): SQL[A, HasExtractor]

Maps values from each scalikejdbc.WrappedResultSet object.

Maps values from each scalikejdbc.WrappedResultSet object.

Type Params
A

return type

Value Params
f

extractor function

Returns

SQL instance

Inherited from
SQL
def one[Z](f: WrappedResultSet => Z): OneToXSQL[Z, E, Z]

Returns One-to-X API builder.

Returns One-to-X API builder.

Inherited from
SQL
def queryTimeout: Option[Int]

Returns queryTimeout for this query.

Returns queryTimeout for this query.

Returns

query timeout seconds

Inherited from
SQL
def queryTimeout(seconds: Option[Int]): OneToManies10SQLToOption[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, E, Z]
Inherited from
SQL
def queryTimeout(seconds: Int): OneToManies10SQLToOption[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, E, Z]

Set queryTimeout for this query.

Set queryTimeout for this query.

Value Params
seconds

query timeout seconds

Returns

this

Inherited from
SQL
def result[AA](f: WrappedResultSet => AA, session: DBSession): Option[AA]
Inherited from
SQLToOption
override def single: SQLToOption[Z, E]
def stripMargin: SQL[Z, E]
Inherited from
SQL
def stripMargin(marginChar: Char): SQL[Z, E]
Inherited from
SQL
def tags: Seq[String]

Returns tags for this SQL object.

Returns tags for this SQL object.

Returns

tags

Inherited from
SQL
def tags(tags: String*): OneToManies10SQLToOption[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, E, Z]

Appends tags to this SQL object.

Appends tags to this SQL object.

Value Params
tags

tags

Returns

this

Inherited from
SQL
override def toIterable: SQLToIterable[Z, E]
override def toList: SQLToList[Z, E]
def toMap: SQL[Map[String, Any], HasExtractor]

Maps values as a Map value from each scalikejdbc.WrappedResultSet object.

Maps values as a Map value from each scalikejdbc.WrappedResultSet object.

Returns

SQL instance

Inherited from
SQL
override def toOption: SQLToOption[Z, E]

Set execution type as executeUpdate

Set execution type as executeUpdate

Returns

SQL instance

Inherited from
SQL

Set execution type as updateAndReturnGeneratedKey

Set execution type as updateAndReturnGeneratedKey

Returns

SQL instance

Inherited from
SQL
def updateWithFilters(before: PreparedStatement => Unit, after: PreparedStatement => Unit): SQLUpdate

Set execution type as executeUpdate with filters

Set execution type as executeUpdate with filters

Value Params
after

after filter

before

before filter

Returns

SQL instance

Inherited from
SQL

Concrete fields

val isSingle: Boolean
override val rawParameters: Seq[Any]
override val statement: String
val to1: WrappedResultSet => Option[B1]
val to10: WrappedResultSet => Option[B10]
val to2: WrappedResultSet => Option[B2]
val to3: WrappedResultSet => Option[B3]
val to4: WrappedResultSet => Option[B4]
val to5: WrappedResultSet => Option[B5]
val to6: WrappedResultSet => Option[B6]
val to7: WrappedResultSet => Option[B7]
val to8: WrappedResultSet => Option[B8]
val to9: WrappedResultSet => Option[B9]
val zExtractor: (A, Seq[B1], Seq[B2], Seq[B3], Seq[B4], Seq[B5], Seq[B6], Seq[B7], Seq[B8], Seq[B9], Seq[B10]) => Z

Inherited fields

val message: String
final lazy val parameters: Seq[Any]
Inherited from
SQL