scalikejdbc

OneToManySQL

class OneToManySQL[A, B, E <: WithExtractor, Z] extends SQL[Z, E]

Linear Supertypes
SQL[Z, E], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. OneToManySQL
  2. SQL
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OneToManySQL(sql: String)(params: Any*)(output: SQL.Output.Value = scalikejdbc.SQL.Output.traversable)(one: (WrappedResultSet) ⇒ A)(toMany: (WrappedResultSet) ⇒ Option[B])(extractor: (A, Seq[B]) ⇒ Z)

Type Members

  1. type SQLWithExtractor = SQL[Z, HasExtractor]

    Definition Classes
    SQL
  2. type ThisSQL = SQL[Z, E]

    Definition Classes
    SQL

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def batch(params: Seq[Any]*): SQLBatch

    Binds params for batch

    Binds params for batch

    params

    params

    returns

    SQL for batch

    Definition Classes
    SQL
  8. def batchByName(params: Seq[(Symbol, Any)]*): SQLBatch

    Binds params for batch

    Binds params for batch

    params

    params

    returns

    SQL for batch

    Definition Classes
    SQL
  9. def bind(params: Any*): SQL[Z, E]

    Binds parameters to SQL template in order.

    Binds parameters to SQL template in order.

    params

    parameters

    returns

    SQL instance

    Definition Classes
    SQL
  10. def bindByName(paramsByName: (Symbol, Any)*): SQL[Z, E]

    Binds named parameters to SQL template.

    Binds named parameters to SQL template.

    paramsByName

    named parameters

    returns

    SQL instance

    Definition Classes
    SQL
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def execute(): SQLExecution

    Set execution type as execute

    Set execution type as execute

    returns

    SQL instance

    Definition Classes
    SQL
  15. def executeUpdate(): SQLUpdate

    Set execution type as executeUpdate

    Set execution type as executeUpdate

    returns

    SQL instance

    Definition Classes
    SQL
  16. def executeUpdateWithFilters(before: (PreparedStatement) ⇒ Unit, after: (PreparedStatement) ⇒ Unit): SQLUpdate

    Set execution type as executeUpdate with filters

    Set execution type as executeUpdate with filters

    before

    before filter

    after

    after filter

    returns

    SQL instance

    Definition Classes
    SQL
  17. def executeWithFilters(before: (PreparedStatement) ⇒ Unit, after: (PreparedStatement) ⇒ Unit): SQLExecution

    Set execution type as execute with filters

    Set execution type as execute with filters

    before

    before filter

    after

    after filter

    returns

    SQL instance

    Definition Classes
    SQL
  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. def first(): SQLToOption[Z, E]

    Set execution type as first.

    Set execution type as first.

    returns

    SQL instance

    Definition Classes
    SQL
  20. def foldLeft[A](z: A)(op: (A, WrappedResultSet) ⇒ A)(implicit session: DBSession): A

    folding into one value

    folding into one value

    z

    initial value

    op

    operation

    Definition Classes
    SQL
  21. def foreach(op: (WrappedResultSet) ⇒ Unit)(implicit session: DBSession): Unit

    Aplly the operation to all elements of result set

    Aplly the operation to all elements of result set

    op

    operation

    Definition Classes
    SQL
  22. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. def headOption(): SQLToOption[Z, E]

    Same as #first.

    Same as #first.

    returns

    SQL instance

    Definition Classes
    SQL
  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. def list(): SQLToList[Z, E]

    Set execution type as list.

    Set execution type as list.

    returns

    SQL instance

    Definition Classes
    SQL
  27. def map(extractor: (A, Seq[B]) ⇒ Z): OneToManySQL[A, B, HasExtractor, Z]

  28. def map[A](extractor: (WrappedResultSet) ⇒ A): SQL[A, HasExtractor]

    ListMaps values from each scalikejdbc.WrappedResultSet object.

    ListMaps values from each scalikejdbc.WrappedResultSet object.

    A

    return type

    extractor

    extractor function

    returns

    SQL instance

    Definition Classes
    SQL
  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  32. def one[Z](f: (WrappedResultSet) ⇒ Z): OneToXSQL[Z, E, Z]

    Definition Classes
    SQL
  33. def single(): SQLToOption[Z, E]

    Set execution type as single.

    Set execution type as single.

    returns

    SQL instance

    Definition Classes
    SQL
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. def toList(): OneToManySQLToList[A, B, E, Z]

    Same as #list

    Same as #list

    returns

    SQL instance

    Definition Classes
    OneToManySQLSQL
  36. def toOption(): OneToManySQLToOption[A, B, E, Z]

    Same as #single.

    Same as #single.

    returns

    SQL instance

    Definition Classes
    OneToManySQLSQL
  37. def toString(): String

    Definition Classes
    AnyRef → Any
  38. def toTraversable(): OneToManySQLToTraversable[A, B, E, Z]

    Same as #traversable.

    Same as #traversable.

    returns

    SQL instance

    Definition Classes
    OneToManySQLSQL
  39. def traversable(): SQLToTraversable[Z, E]

    Set execution type as traversable.

    Set execution type as traversable.

    returns

    SQL instance

    Definition Classes
    SQL
  40. def update(): SQLUpdate

    Set execution type as executeUpdate

    Set execution type as executeUpdate

    returns

    SQL instance

    Definition Classes
    SQL
  41. def updateAndReturnGeneratedKey(index: Int): SQLUpdateWithGeneratedKey

    Definition Classes
    SQL
  42. def updateAndReturnGeneratedKey(name: String): SQLUpdateWithGeneratedKey

    Definition Classes
    SQL
  43. def updateAndReturnGeneratedKey(): SQLUpdateWithGeneratedKey

    Set execution type as updateAndreturnGeneratedKey

    Set execution type as updateAndreturnGeneratedKey

    returns

    SQL instance

    Definition Classes
    SQL
  44. def updateWithFilters(before: (PreparedStatement) ⇒ Unit, after: (PreparedStatement) ⇒ Unit): SQLUpdate

    Set execution type as executeUpdate with filters

    Set execution type as executeUpdate with filters

    before

    before filter

    after

    after filter

    returns

    SQL instance

    Definition Classes
    SQL
  45. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  46. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  47. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from SQL[Z, E]

Inherited from AnyRef

Inherited from Any

Ungrouped