Trait

scalikejdbc

SQLToList

Related Doc: package scalikejdbc

Permalink

trait SQLToList[A, E <: WithExtractor] extends SQL[A, E] with SQLToResult[A, E, List]

SQL to List

A

return type

E

extractor settings

Source
SQL.scala
Linear Supertypes
SQLToResult[A, E, List], SQL[A, E], Extractor[A], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SQLToList
  2. SQLToResult
  3. SQL
  4. Extractor
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type SQLWithExtractor = SQL[A, HasExtractor]

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

    Permalink
    Definition Classes
    SQL

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply()(implicit session: DBSession, context: ConnectionPoolContext = NoConnectionPoolContext, hasExtractor: =:=[ThisSQL, SQLWithExtractor]): List[A]

    Permalink
    Definition Classes
    SQLToResult
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def batch(parameters: Seq[Any]*): SQLBatch

    Permalink

    Binds parameters for batch

    Binds parameters for batch

    parameters

    parameters

    returns

    SQL for batch

    Definition Classes
    SQL
  7. def batchAndReturnGeneratedKey(generatedKeyName: String, parameters: Seq[Any]*): SQLBatchWithGeneratedKey

    Permalink

    Binds parameters for batch

    Binds parameters for batch

    generatedKeyName

    generated key name

    parameters

    parameters

    returns

    SQL for batch

    Definition Classes
    SQL
  8. def batchAndReturnGeneratedKey(parameters: Seq[Any]*): SQLBatchWithGeneratedKey

    Permalink

    Binds parameters for batch

    Binds parameters for batch

    parameters

    parameters

    returns

    SQL for batch

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

    Permalink

    Binds parameters for batch

    Binds parameters for batch

    parameters

    parameters

    returns

    SQL for batch

    Definition Classes
    SQL
  10. def bind(parameters: Any*): SQL[A, E]

    Permalink

    Binds parameters to SQL template in order.

    Binds parameters to SQL template in order.

    parameters

    parameters

    returns

    SQL instance

    Definition Classes
    SQL
  11. def bindByName(parametersByName: (Symbol, Any)*): SQL[A, E]

    Permalink

    Binds named parameters to SQL template.

    Binds named parameters to SQL template.

    parametersByName

    named parameters

    returns

    SQL instance

    Definition Classes
    SQL
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def collection: SQLToCollection[A, E]

    Permalink

    Set execution type as collection.

    Set execution type as collection.

    returns

    SQL instance

    Definition Classes
    SQL
  14. def createDBSessionAttributesSwitcher(): DBSessionAttributesSwitcher

    Permalink

    Creates a new DBSessionAttributesSwitcher which enables switching the attributes for a DBSession.

    Creates a new DBSessionAttributesSwitcher which enables switching the attributes for a DBSession.

    Attributes
    protected
    Definition Classes
    SQL
  15. def dbSettingSettings(settings: SettingsProvider): SQLToList.this.type

    Permalink
    Definition Classes
    SQL
  16. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink

    Set execution type as execute

    Set execution type as execute

    returns

    SQL instance

    Definition Classes
    SQL
  19. def executeUpdate(): SQLUpdate

    Permalink

    Set execution type as executeUpdate

    Set execution type as executeUpdate

    returns

    SQL instance

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

    Permalink

    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
  21. def executeWithFilters(before: (PreparedStatement) ⇒ Unit, after: (PreparedStatement) ⇒ Unit): SQLExecution

    Permalink

    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
  22. def extractor: (WrappedResultSet) ⇒ A

    Permalink
    Definition Classes
    SQL → Extractor
  23. def fetchSize: Option[Int]

    Permalink

    Returns fetchSize for this query.

    Returns fetchSize for this query.

    returns

    fetch size

    Definition Classes
    SQL
  24. def fetchSize(fetchSize: Option[Int]): SQLToList.this.type

    Permalink
    Definition Classes
    SQL
  25. def fetchSize(fetchSize: Int): SQLToList.this.type

    Permalink

    Set fetchSize for this query.

    Set fetchSize for this query.

    fetchSize

    fetch size

    returns

    this

    Definition Classes
    SQL
  26. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  27. def first(): SQLToOption[A, E]

    Permalink

    Set execution type as first.

    Set execution type as first.

    returns

    SQL instance

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

    Permalink

    folding into one value

    folding into one value

    z

    initial value

    op

    operation

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

    Permalink

    Apply the operation to all elements of result set

    Apply the operation to all elements of result set

    op

    operation

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  32. def headOption(): SQLToOption[A, E]

    Permalink

    Same as #first.

    Same as #first.

    returns

    SQL instance

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

    Permalink
    Definition Classes
    Any
  34. def list(): SQLToList[A, E]

    Permalink

    Set execution type as list.

    Set execution type as list.

    returns

    SQL instance

    Definition Classes
    SQL
  35. def map[A](f: (WrappedResultSet) ⇒ A): SQL[A, HasExtractor]

    Permalink

    Maps values from each scalikejdbc.WrappedResultSet object.

    Maps values from each scalikejdbc.WrappedResultSet object.

    A

    return type

    f

    extractor function

    returns

    SQL instance

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

    Permalink
    Definition Classes
    AnyRef
  37. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  38. final def notifyAll(): Unit

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

    Permalink

    Returns One-to-X API builder.

    Returns One-to-X API builder.

    Definition Classes
    SQL
  40. final lazy val parameters: Seq[Any]

    Permalink
    Definition Classes
    SQL
  41. def queryTimeout: Option[Int]

    Permalink

    Returns queryTimeout for this query.

    Returns queryTimeout for this query.

    returns

    query timeout seconds

    Definition Classes
    SQL
  42. def queryTimeout(seconds: Option[Int]): SQLToList.this.type

    Permalink
    Definition Classes
    SQL
  43. def queryTimeout(seconds: Int): SQLToList.this.type

    Permalink

    Set queryTimeout for this query.

    Set queryTimeout for this query.

    seconds

    query timeout seconds

    returns

    this

    Definition Classes
    SQL
  44. def result[AA](f: (WrappedResultSet) ⇒ AA, session: DBSession): List[AA]

    Permalink
    Definition Classes
    SQLToListSQLToResult
  45. def single(): SQLToOption[A, E]

    Permalink

    Set execution type as single.

    Set execution type as single.

    returns

    SQL instance

    Definition Classes
    SQL
  46. val statement: String

    Permalink

    SQL template

    SQL template

    Definition Classes
    SQL
  47. def stripMargin: SQL[A, E]

    Permalink
    Definition Classes
    SQL
  48. def stripMargin(marginChar: Char): SQL[A, E]

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

    Permalink
    Definition Classes
    AnyRef
  50. def tags: Seq[String]

    Permalink

    Returns tags for this SQL object.

    Returns tags for this SQL object.

    returns

    tags

    Definition Classes
    SQL
  51. def tags(tags: String*): SQLToList.this.type

    Permalink

    Appends tags to this SQL object.

    Appends tags to this SQL object.

    tags

    tags

    returns

    this

    Definition Classes
    SQL
  52. def toCollection: SQLToCollection[A, E]

    Permalink

    Same as #collection

    Same as #collection

    returns

    SQL instance

    Definition Classes
    SQL
  53. def toList(): SQLToList[A, E]

    Permalink

    Same as #list

    Same as #list

    returns

    SQL instance

    Definition Classes
    SQL
  54. def toMap(): SQL[Map[String, Any], HasExtractor]

    Permalink

    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

    Definition Classes
    SQL
  55. def toOption(): SQLToOption[A, E]

    Permalink

    Same as #single.

    Same as #single.

    returns

    SQL instance

    Definition Classes
    SQL
  56. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  57. def toTraversable(): SQLToTraversable[A, E]

    Permalink

    Same as #traversable.

    Same as #traversable.

    returns

    SQL instance

    Definition Classes
    SQL
  58. def traversable(): SQLToTraversable[A, E]

    Permalink

    Set execution type as traversable.

    Set execution type as traversable.

    returns

    SQL instance

    Definition Classes
    SQL
  59. def update(): SQLUpdate

    Permalink

    Set execution type as executeUpdate

    Set execution type as executeUpdate

    returns

    SQL instance

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

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

    Permalink
    Definition Classes
    SQL
  62. def updateAndReturnGeneratedKey(): SQLUpdateWithGeneratedKey

    Permalink

    Set execution type as updateAndReturnGeneratedKey

    Set execution type as updateAndReturnGeneratedKey

    returns

    SQL instance

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

    Permalink

    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
  64. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  67. def withExtractor[B](f: (WrappedResultSet) ⇒ B): SQL[B, HasExtractor]

    Permalink
    Attributes
    protected
    Definition Classes
    SQL
  68. def withParameters(params: Seq[Any]): SQL[A, E]

    Permalink
    Attributes
    protected
    Definition Classes
    SQL
  69. def withStatementAndParameters(state: String, params: Seq[Any]): SQL[A, E]

    Permalink
    Attributes
    protected
    Definition Classes
    SQL

Inherited from SQLToResult[A, E, List]

Inherited from SQL[A, E]

Inherited from Extractor[A]

Inherited from AnyRef

Inherited from Any

Ungrouped