Packages

p

scalikejdbc

package scalikejdbc

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. case class ActiveSession (conn: Connection, connectionAttributes: DBConnectionAttributes, tx: Option[Tx] = None, isReadOnly: Boolean = false, settings: SettingsProvider = SettingsProvider.default) extends DBSession with Product with Serializable

    Active session implementation of scalikejdbc.DBSession.

    Active session implementation of scalikejdbc.DBSession.

    This class provides readOnly/autoCommit/localTx/withinTx blocks and session objects.

    import scalikejdbc._
    
    val userIdList = DB autoCommit { session: DBSession =>
      session.list("select * from user") { rs => rs.int("id") }
    }
    conn

    connection

    tx

    transaction

    isReadOnly

    is read only

  2. trait AllOutputDecisionsUnsupported [Z, E <: WithExtractor] extends SQL[Z, E]

    All output decisions are unsupported by default.

    All output decisions are unsupported by default.

    Z

    return type

    E

    extractor constraint

  3. case class AsIsParameterBinder (value: Any) extends ParameterBinderWithValue with Product with Serializable

    Type unsafe ParameterBinder which holds any value and binds it as-is to PreparedStatement.

  4. class AuthenticatedDataSourceConnectionPool extends ConnectionPool

    Connection Pool using external DataSource

    Connection Pool using external DataSource

    Note: Commons-DBCP doesn't support this API.

  5. case class AutoSession (settings: SettingsProvider) extends DBSession with Product with Serializable

    Represents that already existing session will be used or a new session will be started.

  6. trait Binders [A] extends TypeBinder[A] with ParameterBinderFactory[A]

    Provides both of TypeBinder and ParameterBinderFactory for the specified type A.

  7. class BoneCPConnectionPool extends ConnectionPool

    BoneCP Connection Pool

    BoneCP Connection Pool

    See also

    https://github.com/wwadge/bonecp

  8. class Commons2ConnectionPool extends ConnectionPool

    Commons DBCP Connection Pool

    Commons DBCP Connection Pool

    See also

    http://commons.apache.org/dbcp/

  9. class CommonsConnectionPool extends ConnectionPool

    Commons DBCP Connection Pool

    Commons DBCP Connection Pool

    See also

    http://commons.apache.org/dbcp/

  10. abstract class ConnectionPool extends AnyRef

    Connection Pool

  11. trait ConnectionPoolContext extends AnyRef

    Connection pool context

  12. trait ConnectionPoolFactory extends AnyRef

    Connection Pool Factory

  13. case class ConnectionPoolSettings (initialSize: Int = 0, maxSize: Int = 8, connectionTimeoutMillis: Long = 5000L, validationQuery: String = null, connectionPoolFactoryName: String = null, driverName: String = null, warmUpTime: Long = 100L, timeZone: String = null) extends Product with Serializable

    Settings for ConnectionPool

  14. case class DB (conn: Connection, connectionAttributes: DBConnectionAttributes = DBConnectionAttributes(), settingsProvider: SettingsProvider = SettingsProvider.default) extends DBConnection with Product with Serializable

    Basic Database Accessor

    Basic Database Accessor

    Using DBSession:

    import scalikejdbc._
    case class User(id: Int, name: String)
    
    using(ConnectionPool(name).borrow()) { conn =>
    
      val users = DB(conn) readOnly { session =>
        session.list("select * from user") { rs =>
          User(rs.int("id"), rs.string("name"))
        }
      }
    
      DB(conn) autoCommit { session =>
        session.update("insert into user values (?,?)", 123, "Alice")
      }
    
      DB(conn) localTx { session =>
        session.update("insert into user values (?,?)", 123, "Alice")
      }
    
    }

    Using SQL:

    import scalikejdbc._
    case class User(id: Int, name: String)
    
    using(ConnectionPool.borrow()) { conn =>
    
      val users = DB(conn) readOnly { implicit session =>
        SQL("select * from user").map { rs =>
          User(rs.int("id"), rs.string("name"))
        }.list.apply()
      }
    
      DB(conn) autoCommit { implicit session =>
        SQL("insert into user values (?,?)").bind(123, "Alice").update.apply()
      }
    
      DB(conn) localTx { implicit session =>
        SQL("insert into user values (?,?)").bind(123, "Alice").update.apply()
      }
    
    }
  15. trait DBConnection extends LogSupport with LoanPattern

    Basic Database Accessor which holds a JDBC connection.

  16. case class DBConnectionAttributes (driverName: Option[String] = None, timeZoneSettings: TimeZoneSettings = TimeZoneSettings()) extends Product with Serializable

    Additional attributes for current JDBC connection.

  17. trait DBSession extends LogSupport with LoanPattern

    DB Session

    DB Session

    This class provides readOnly/autoCommit/localTx/withinTx blocks and session objects.

    import scalikejdbc._
    
    val userIdList = DB autoCommit { session: DBSession =>
      session.list("select * from user") { rs => rs.int("id") }
    }
  18. trait DataSourceCloser extends AnyRef

    Resource manager which closes a DataSource.

  19. class DataSourceConnectionPool extends ConnectionPool

    Connection Pool using external DataSource

  20. case class DataSourceConnectionPoolSettings (driverName: String = null) extends Product with Serializable

    Settings for DataSourceConnectionPool

  21. trait EntityEquality extends AnyRef

    Entity identifier provider for equality (especially for scalikejdbc.RelationalSQL operation).

    Entity identifier provider for equality (especially for scalikejdbc.RelationalSQL operation).

    Notice: Inheritance is not supported.

    Example:
    1. class Person(val id: Long) extends EntityEquality { override val entityIdentity = id }
      class Member(override val id: Long) extends Person(id)
      
      val p1 = new Person(123)
      val p2 = new Person(123)
      val m1 = new Member(123)
      val m2 = new Member(123)
      
      p1 == p2 && p2 == p1 // true
      p1 == m1 || m1 == p1 // false
      m1 == m2 && m2 == m1 // true
  22. trait HasExtractor extends WithExtractor

    Represents that this SQL already has an extractor

  23. case class IllegalRelationshipException (message: String) extends IllegalStateException with Product with Serializable

    Exception which represents that an illegal relationship is found.

  24. case class InvalidColumnNameException (name: String) extends Exception with Product with Serializable

    Exception which represents invalid key is specified.

  25. case class JDBCSettings (url: String, user: String, password: String, driverName: String) extends Product with Serializable

    JDBC Settings

  26. case class JDBCUrl (host: String, port: Int, database: String) extends Product with Serializable

    JDBC URL which contains host, port and database name

  27. case class LikeConditionEscapeUtil (escapeChar: String) extends Product with Serializable

    Utility to escape like condition special characters.

  28. trait LoanPattern extends AnyRef

    Loan pattern implementation

  29. final class LocalTimeConverter extends AnyVal

    org.joda.time.LocalTime converter.

  30. case class LoggingSQLAndTimeSettings (enabled: Boolean = true, singleLineMode: Boolean = false, printUnprocessedStackTrace: Boolean = false, stackTraceDepth: Int = 15, logLevel: Symbol = 'debug, warningEnabled: Boolean = false, warningThresholdMillis: Long = 3000L, warningLogLevel: Symbol = 'warn, maxColumnSize: Option[Int] = Some(100), maxBatchParamSize: Option[Int] = Some(20)) extends Product with Serializable

    Settings for logging SQL and timing

  31. trait LowPriorityImplicitsParameterBinderFactory0 extends AnyRef
  32. trait LowPriorityImplicitsParameterBinderFactory1 extends LowPriorityImplicitsParameterBinderFactory0
  33. trait LowPriorityTypeBinderImplicits extends AnyRef
  34. case class MultipleConnectionPoolContext (contexts: (Any, ConnectionPool)*) extends ConnectionPoolContext with Product with Serializable

    Multiple connection pool context

  35. case class NameBindingSQLValidatorSettings (ignoredParams: IgnoredParamsValidation = ExceptionForIgnoredParams) extends Product with Serializable

    Settings for Name binding SQL validator

  36. case class NamedAutoSession (name: Any, settings: SettingsProvider = SettingsProvider.default) extends DBSession with Product with Serializable

    Represents that already existing session will be used or a new session which is retrieved from named connection pool will be started.

  37. case class NamedDB (name: Any, settingsProvider: SettingsProvider = SettingsProvider.default)(implicit context: ConnectionPoolContext = NoConnectionPoolContext) extends DBConnection with Product with Serializable

    Named Basic DB Accessor

    Named Basic DB Accessor

    It's easier to use named ConnectionPool with this class.

    ConnectionPool.add('named, "jdbc:...", "user", "password")
    val users = NamedDB('named) readOnly { session =>
      session.list("select * from user")
    }
  38. trait NoExtractor extends WithExtractor

    Represents that this SQL doesn't have an extractor yet

  39. class OneToManies10SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  40. final class OneToManies10SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies10Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, E, Z]
  41. class OneToManies10SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies10Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, E, Z]
  42. class OneToManies10SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, E <: WithExtractor, Z] 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]
  43. class OneToManies10SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies10Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, E, Z]
  44. class OneToManies11SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  45. final class OneToManies11SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies11Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, E, Z]
  46. class OneToManies11SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies11Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, E, Z]
  47. class OneToManies11SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies11Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, E, Z]
  48. class OneToManies11SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies11Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, E, Z]
  49. class OneToManies12SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  50. final class OneToManies12SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies12Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, E, Z]
  51. class OneToManies12SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies12Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, E, Z]
  52. class OneToManies12SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies12Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, E, Z]
  53. class OneToManies12SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies12Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, E, Z]
  54. class OneToManies13SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  55. final class OneToManies13SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies13Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, E, Z]
  56. class OneToManies13SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies13Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, E, Z]
  57. class OneToManies13SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies13Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, E, Z]
  58. class OneToManies13SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies13Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, E, Z]
  59. class OneToManies14SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  60. final class OneToManies14SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies14Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, E, Z]
  61. class OneToManies14SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies14Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, E, Z]
  62. class OneToManies14SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies14Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, E, Z]
  63. class OneToManies14SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies14Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, E, Z]
  64. class OneToManies15SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  65. final class OneToManies15SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies15Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, E, Z]
  66. class OneToManies15SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies15Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, E, Z]
  67. class OneToManies15SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies15Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, E, Z]
  68. class OneToManies15SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies15Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, E, Z]
  69. class OneToManies16SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  70. final class OneToManies16SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies16Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, E, Z]
  71. class OneToManies16SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies16Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, E, Z]
  72. class OneToManies16SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies16Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, E, Z]
  73. class OneToManies16SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies16Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, E, Z]
  74. class OneToManies17SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  75. final class OneToManies17SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies17Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, E, Z]
  76. class OneToManies17SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies17Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, E, Z]
  77. class OneToManies17SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies17Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, E, Z]
  78. class OneToManies17SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies17Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, E, Z]
  79. class OneToManies18SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  80. final class OneToManies18SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies18Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, E, Z]
  81. class OneToManies18SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies18Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, E, Z]
  82. class OneToManies18SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies18Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, E, Z]
  83. class OneToManies18SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies18Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, E, Z]
  84. class OneToManies19SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  85. final class OneToManies19SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies19Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, E, Z]
  86. class OneToManies19SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies19Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, E, Z]
  87. class OneToManies19SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies19Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, E, Z]
  88. class OneToManies19SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies19Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, E, Z]
  89. class OneToManies20SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  90. final class OneToManies20SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies20Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, E, Z]
  91. class OneToManies20SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies20Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, E, Z]
  92. class OneToManies20SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies20Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, E, Z]
  93. class OneToManies20SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies20Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, E, Z]
  94. class OneToManies21SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, B21, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  95. final class OneToManies21SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, B21, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies21Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, B21, E, Z]
  96. class OneToManies21SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, B21, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies21Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, B21, E, Z]
  97. class OneToManies21SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, B21, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies21Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, B21, E, Z]
  98. class OneToManies21SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, B21, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies21Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, B21, E, Z]
  99. class OneToManies2SQL [A, B1, B2, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  100. final class OneToManies2SQLToCollection [A, B1, B2, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with OneToManies2Extractor[A, B1, B2, E, Z]
  101. class OneToManies2SQLToList [A, B1, B2, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with OneToManies2Extractor[A, B1, B2, E, Z]
  102. class OneToManies2SQLToOption [A, B1, B2, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies2Extractor[A, B1, B2, E, Z]
  103. class OneToManies2SQLToTraversable [A, B1, B2, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies2Extractor[A, B1, B2, E, Z]
  104. class OneToManies3SQL [A, B1, B2, B3, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  105. final class OneToManies3SQLToCollection [A, B1, B2, B3, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies3Extractor[A, B1, B2, B3, E, Z]
  106. class OneToManies3SQLToList [A, B1, B2, B3, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies3Extractor[A, B1, B2, B3, E, Z]
  107. class OneToManies3SQLToOption [A, B1, B2, B3, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies3Extractor[A, B1, B2, B3, E, Z]
  108. class OneToManies3SQLToTraversable [A, B1, B2, B3, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies3Extractor[A, B1, B2, B3, E, Z]
  109. class OneToManies4SQL [A, B1, B2, B3, B4, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  110. final class OneToManies4SQLToCollection [A, B1, B2, B3, B4, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies4Extractor[A, B1, B2, B3, B4, E, Z]
  111. class OneToManies4SQLToList [A, B1, B2, B3, B4, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies4Extractor[A, B1, B2, B3, B4, E, Z]
  112. class OneToManies4SQLToOption [A, B1, B2, B3, B4, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies4Extractor[A, B1, B2, B3, B4, E, Z]
  113. class OneToManies4SQLToTraversable [A, B1, B2, B3, B4, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies4Extractor[A, B1, B2, B3, B4, E, Z]
  114. class OneToManies5SQL [A, B1, B2, B3, B4, B5, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  115. final class OneToManies5SQLToCollection [A, B1, B2, B3, B4, B5, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies5Extractor[A, B1, B2, B3, B4, B5, E, Z]
  116. class OneToManies5SQLToList [A, B1, B2, B3, B4, B5, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies5Extractor[A, B1, B2, B3, B4, B5, E, Z]
  117. class OneToManies5SQLToOption [A, B1, B2, B3, B4, B5, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies5Extractor[A, B1, B2, B3, B4, B5, E, Z]
  118. class OneToManies5SQLToTraversable [A, B1, B2, B3, B4, B5, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies5Extractor[A, B1, B2, B3, B4, B5, E, Z]
  119. class OneToManies6SQL [A, B1, B2, B3, B4, B5, B6, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  120. final class OneToManies6SQLToCollection [A, B1, B2, B3, B4, B5, B6, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies6Extractor[A, B1, B2, B3, B4, B5, B6, E, Z]
  121. class OneToManies6SQLToList [A, B1, B2, B3, B4, B5, B6, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies6Extractor[A, B1, B2, B3, B4, B5, B6, E, Z]
  122. class OneToManies6SQLToOption [A, B1, B2, B3, B4, B5, B6, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies6Extractor[A, B1, B2, B3, B4, B5, B6, E, Z]
  123. class OneToManies6SQLToTraversable [A, B1, B2, B3, B4, B5, B6, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies6Extractor[A, B1, B2, B3, B4, B5, B6, E, Z]
  124. class OneToManies7SQL [A, B1, B2, B3, B4, B5, B6, B7, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  125. final class OneToManies7SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies7Extractor[A, B1, B2, B3, B4, B5, B6, B7, E, Z]
  126. class OneToManies7SQLToList [A, B1, B2, B3, B4, B5, B6, B7, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies7Extractor[A, B1, B2, B3, B4, B5, B6, B7, E, Z]
  127. class OneToManies7SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies7Extractor[A, B1, B2, B3, B4, B5, B6, B7, E, Z]
  128. class OneToManies7SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies7Extractor[A, B1, B2, B3, B4, B5, B6, B7, E, Z]
  129. class OneToManies8SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  130. final class OneToManies8SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, B8, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies8Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, E, Z]
  131. class OneToManies8SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies8Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, E, Z]
  132. class OneToManies8SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies8Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, E, Z]
  133. class OneToManies8SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies8Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, E, Z]
  134. class OneToManies9SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  135. final class OneToManies9SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies9Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, E, Z]
  136. class OneToManies9SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies9Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, E, Z]
  137. class OneToManies9SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies9Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, E, Z]
  138. class OneToManies9SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies9Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, E, Z]
  139. class OneToManySQL [A, B, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  140. class OneToManySQLToCollection [A, B, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManyExtractor[A, B, E, Z]
  141. class OneToManySQLToList [A, B, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManyExtractor[A, B, E, Z]
  142. class OneToManySQLToOption [A, B, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManyExtractor[A, B, E, Z]
  143. class OneToManySQLToTraversable [A, B, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManyExtractor[A, B, E, Z]
  144. class OneToOneSQL [A, B, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  145. class OneToOneSQLToCollection [A, B, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToOneExtractor[A, B, E, Z]
  146. class OneToOneSQLToList [A, B, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToOneExtractor[A, B, E, Z]
  147. class OneToOneSQLToOption [A, B, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToOneExtractor[A, B, E, Z]
  148. class OneToOneSQLToTraversable [A, B, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToOneExtractor[A, B, E, Z]
  149. class OneToXSQL [A, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]

    Endpoint of one-to-x APIs

  150. trait ParameterBinder extends AnyRef

    Enables customizing StatementExecutor#bindParams behavior.

    Enables customizing StatementExecutor#bindParams behavior.

    val bytes = Array[Byte](1,2,3, ...)
    val in = ByteArrayInputStream(bytes)
    val bin = ParameterBinder(
      value = in,
      binder = (stmt, idx) => stmt.setBinaryStream(idx, in, bytes.length)
    )
    sql"insert into table (bin) values (${bin})".update.apply()
  151. trait ParameterBinderFactory [A] extends AnyRef
    Annotations
    @implicitNotFound( ... )
  152. trait ParameterBinderWithValue extends ParameterBinder

    ParameterBinder which holds a value to bind.

  153. case class ReadOnlyNamedAutoSession (name: Any, settings: SettingsProvider = SettingsProvider.default) extends DBSession with Product with Serializable

    Represents that already existing session will be used or a new read-only session which is retrieved from named connection pool will be started.

  154. class ResultSetCursor extends AnyRef

    java.sql.ResultSet cursor

  155. case class ResultSetExtractorException (message: String, e: Option[Exception] = None) extends IllegalArgumentException with Product with Serializable

    Exception which represents failure on ResultSet extraction.

  156. class ResultSetTraversable extends Traversable[WrappedResultSet] with LoanPattern

    scala.collection.Traversable object which wraps java.sql.ResultSet.

  157. abstract class SQL [A, E <: WithExtractor] extends Extractor[A]

    SQL abstraction.

    SQL abstraction.

    A

    return type

  158. class SQLBatch extends AnyRef

    SQL which execute java.sql.Statement#executeBatch().

  159. class SQLBatchWithGeneratedKey extends AnyRef
  160. class SQLExecution extends AnyRef

    SQL which execute java.sql.Statement#execute().

  161. trait SQLFormatter extends AnyRef

    SQL formatter

  162. case class SQLFormatterSettings (formatterClassName: Option[String]) extends LogSupport with Product with Serializable

    Settings for SQL formatter

  163. final class SQLInterpolationString extends AnyVal

    SQLInterpolation definition

  164. trait SQLToCollection [A, E <: WithExtractor] extends SQL[A, E] with Extractor[A]

    SQL to Collection

    SQL to Collection

    A

    return type

    E

    extractor settings

  165. class SQLToCollectionImpl [A, E <: WithExtractor] extends SQL[A, E] with SQLToCollection[A, E]
  166. trait SQLToList [A, E <: WithExtractor] extends SQL[A, E] with SQLToResult[A, E, List]

    SQL to List

    SQL to List

    A

    return type

    E

    extractor settings

  167. class SQLToListImpl [A, E <: WithExtractor] extends SQL[A, E] with SQLToList[A, E]

    SQL which execute java.sql.Statement#executeQuery() and returns the result as scala.collection.immutable.List value.

    SQL which execute java.sql.Statement#executeQuery() and returns the result as scala.collection.immutable.List value.

    A

    return type

  168. trait SQLToOption [A, E <: WithExtractor] extends SQL[A, E] with SQLToResult[A, E, Option]

    SQL to Option

    SQL to Option

    A

    return type

    E

    extractor settings

  169. class SQLToOptionImpl [A, E <: WithExtractor] extends SQL[A, E] with SQLToOption[A, E]

    SQL which execute java.sql.Statement#executeQuery() and returns the result as scala.Option value.

    SQL which execute java.sql.Statement#executeQuery() and returns the result as scala.Option value.

    A

    return type

  170. trait SQLToResult [A, E <: WithExtractor, C[_]] extends SQL[A, E] with Extractor[A]
  171. trait SQLToTraversable [A, E <: WithExtractor] extends SQL[A, E] with SQLToResult[A, E, Traversable]

    SQL which execute java.sql.Statement#executeQuery() and returns the result as scala.collection.Traversable value.

    SQL which execute java.sql.Statement#executeQuery() and returns the result as scala.collection.Traversable value.

    A

    return type

  172. class SQLToTraversableImpl [A, E <: WithExtractor] extends SQL[A, E] with SQLToTraversable[A, E]

    SQL which execute java.sql.Statement#executeQuery() and returns the result as scala.collection.Traversable value.

    SQL which execute java.sql.Statement#executeQuery() and returns the result as scala.collection.Traversable value.

    A

    return type

  173. class SQLUpdate extends AnyRef

    SQL which execute java.sql.Statement#executeUpdate().

  174. class SQLUpdateWithGeneratedKey extends AnyRef

    SQL which execute java.sql.Statement#executeUpdate() and get generated key value.

  175. final class ScalaBigDecimalConverter extends AnyVal

    BigDecimal converter.

  176. trait ScalaBigDecimalConverterImplicits extends AnyRef

    Implicit conversions for BigDecimal values.

  177. final class SettingsProvider extends AnyRef

    Note

    does not use case class for binary-compatibility keepability

  178. case class StatementExecutor (underlying: PreparedStatement, template: String, connectionAttributes: DBConnectionAttributes, singleParams: Seq[Any] = Nil, tags: Seq[String] = Nil, isBatch: Boolean = false, settingsProvider: SettingsProvider = SettingsProvider.default) extends LogSupport with UnixTimeInMillisConverterImplicits with Product with Serializable

    java.sql.Statement Executor.

    java.sql.Statement Executor.

    underlying

    preparedStatement

    template

    SQL template

    singleParams

    parameters for single execution (= not batch execution)

    isBatch

    is batch flag

  179. case class StringSQLRunner (sql: String) extends LogSupport with Product with Serializable

    String SQL Runner

    String SQL Runner

    Basic Usage:

    import scalikejdbc.StringSQLRunner._
    
    val result: List[Map[String, Any]] = "insert into users values (1, 'Alice')".run()
    
    val users: List[Map[String, Any]] = "select * from users".run()
    sql

    SQL value

  180. class TimeZoneConverter extends AnyRef

    TimeZone converter for SQL Timestamp

  181. case class TimeZoneSettings (conversionEnabled: Boolean = false, serverTimeZone: TimeZone = TimeZone.getDefault) extends Product with Serializable

    Settings for timezone conversion

  182. case class TooManyRowsException (expected: Int, actual: Int) extends Exception with Product with Serializable

    Exception which represents too many rows returned.

  183. class Tx extends AnyRef

    DB Transaction abstraction.

  184. trait TxBoundary [A] extends AnyRef

    This type class enable users to customize the behavior of transaction boundary(commit/rollback).

  185. trait TypeBinder [+A] extends AnyRef

    Type binder for java.sql.ResultSet.

  186. class UnexpectedNullValueException extends Exception
  187. final class UnixTimeInMillisConverter extends AnyVal

    Unix Time Converter to several types.

  188. trait UnixTimeInMillisConverterImplicits extends AnyRef

    Implicit conversions for date time values.

  189. sealed trait WithExtractor extends AnyRef

    Represents an extractor is already specified or not

  190. case class WrappedResultSet (underlying: ResultSet, cursor: ResultSetCursor, index: Int) extends Product with Serializable

    java.sql.ResultSet wrapper.

Value Members

  1. object AutoSession extends AutoSession
  2. object Binders

    Provides factories of Binders and built-in Binders.

  3. object BoneCPConnectionPoolFactory extends ConnectionPoolFactory

    Connection Pool Factory

    Connection Pool Factory

    See also

    https://github.com/wwadge/bonecp

  4. object Commons2ConnectionPoolFactory extends ConnectionPoolFactory

    Connection Pool Factory

    Connection Pool Factory

    See also

    http://commons.apache.org/dbcp/

  5. object CommonsConnectionPoolFactory extends ConnectionPoolFactory

    Connection Pool Factory

    Connection Pool Factory

    See also

    http://commons.apache.org/dbcp/

  6. object ConnectionPool extends LogSupport

    Connection Pool

    Connection Pool

    The default implementation uses Commons DBCP 2 internally.

    See also

    https://commons.apache.org/proper/commons-dbcp/

  7. object ConnectionPoolFactoryRepository

    ConnectionPoolFactoryRepository

  8. object DB extends LoanPattern with Serializable

    Basic Database Accessor

    Basic Database Accessor

    You can start with DB and blocks if using scalikejdbc.ConnectionPool.singleton().

    Using DBSession:

    ConnectionPool.singleton("jdbc:...","user","password")
    case class User(id: Int, name: String)
    
    val users = DB readOnly { session =>
      session.list("select * from user") { rs =>
        User(rs.int("id"), rs.string("name"))
      }
    }
    
    DB autoCommit { session =>
      session.update("insert into user values (?,?)", 123, "Alice")
    }
    
    DB localTx { session =>
      session.update("insert into user values (?,?)", 123, "Alice")
    }
    
    using(DB(ConnectionPool.borrow())) { db =>
      db.begin()
      try {
        DB withTx { session =>
          session.update("update user set name = ? where id = ?", "Alice", 123)
        }
        db.commit()
      } catch { case e =>
        db.rollbackIfActive()
        throw e
      }
    }

    Using SQL:

    ConnectionPool.singleton("jdbc:...","user","password")
    case class User(id: Int, name: String)
    
    val users = DB readOnly { implicit session =>
      SQL("select * from user").map { rs =>
        User(rs.int("id"), rs.string("name"))
      }.list.apply()
    }
    
    DB autoCommit { implicit session =>
      SQL("insert into user values (?,?)").bind(123, "Alice").update.apply()
    }
    
    DB localTx { implicit session =>
      SQL("insert into user values (?,?)").bind(123, "Alice").update.apply()
    }
    
    using(DB(ConnectionPool.borrow())) { db =>
      db.begin()
      try {
        DB withTx { implicit session =>
          SQL("update user set name = ? where id = ?").bind("Alice", 123).update.apply()
        }
        db.commit()
      } catch { case e =>
        db.rollbackIfActive()
        throw e
      }
    }
  9. object DBSession
  10. object DefaultDataSourceCloser extends DataSourceCloser with Product with Serializable

    Default DataSourceCloser.

  11. object GeneralizedTypeConstraintsForWithExtractor

    Generalized type constraints for WithExtractor

  12. object GlobalSettings

    GlobalSettings for this library

  13. object JDBCUrl extends Serializable

    Companion object of JDBC URL

  14. object LikeConditionEscapeUtil extends LikeConditionEscapeUtil
  15. object LoanPattern extends LoanPattern
  16. object NoConnectionPoolContext extends ConnectionPoolContext

    No Connection Pool Context

  17. object NoSession extends DBSession with Product with Serializable

    Represents that there is no active session.

  18. object OneToManies10SQL
  19. object OneToManies10SQLToCollection
  20. object OneToManies10SQLToList
  21. object OneToManies10SQLToOption
  22. object OneToManies10SQLToTraversable
  23. object OneToManies11SQL
  24. object OneToManies11SQLToCollection
  25. object OneToManies11SQLToList
  26. object OneToManies11SQLToOption
  27. object OneToManies11SQLToTraversable
  28. object OneToManies12SQL
  29. object OneToManies12SQLToCollection
  30. object OneToManies12SQLToList
  31. object OneToManies12SQLToOption
  32. object OneToManies12SQLToTraversable
  33. object OneToManies13SQL
  34. object OneToManies13SQLToCollection
  35. object OneToManies13SQLToList
  36. object OneToManies13SQLToOption
  37. object OneToManies13SQLToTraversable
  38. object OneToManies14SQL
  39. object OneToManies14SQLToCollection
  40. object OneToManies14SQLToList
  41. object OneToManies14SQLToOption
  42. object OneToManies14SQLToTraversable
  43. object OneToManies15SQL
  44. object OneToManies15SQLToCollection
  45. object OneToManies15SQLToList
  46. object OneToManies15SQLToOption
  47. object OneToManies15SQLToTraversable
  48. object OneToManies16SQL
  49. object OneToManies16SQLToCollection
  50. object OneToManies16SQLToList
  51. object OneToManies16SQLToOption
  52. object OneToManies16SQLToTraversable
  53. object OneToManies17SQL
  54. object OneToManies17SQLToCollection
  55. object OneToManies17SQLToList
  56. object OneToManies17SQLToOption
  57. object OneToManies17SQLToTraversable
  58. object OneToManies18SQL
  59. object OneToManies18SQLToCollection
  60. object OneToManies18SQLToList
  61. object OneToManies18SQLToOption
  62. object OneToManies18SQLToTraversable
  63. object OneToManies19SQL
  64. object OneToManies19SQLToCollection
  65. object OneToManies19SQLToList
  66. object OneToManies19SQLToOption
  67. object OneToManies19SQLToTraversable
  68. object OneToManies20SQL
  69. object OneToManies20SQLToCollection
  70. object OneToManies20SQLToList
  71. object OneToManies20SQLToOption
  72. object OneToManies20SQLToTraversable
  73. object OneToManies21SQL
  74. object OneToManies21SQLToCollection
  75. object OneToManies21SQLToList
  76. object OneToManies21SQLToOption
  77. object OneToManies21SQLToTraversable
  78. object OneToManies2SQL
  79. object OneToManies2SQLToCollection
  80. object OneToManies2SQLToList
  81. object OneToManies2SQLToOption
  82. object OneToManies2SQLToTraversable
  83. object OneToManies3SQL
  84. object OneToManies3SQLToCollection
  85. object OneToManies3SQLToList
  86. object OneToManies3SQLToOption
  87. object OneToManies3SQLToTraversable
  88. object OneToManies4SQL
  89. object OneToManies4SQLToCollection
  90. object OneToManies4SQLToList
  91. object OneToManies4SQLToOption
  92. object OneToManies4SQLToTraversable
  93. object OneToManies5SQL
  94. object OneToManies5SQLToCollection
  95. object OneToManies5SQLToList
  96. object OneToManies5SQLToOption
  97. object OneToManies5SQLToTraversable
  98. object OneToManies6SQL
  99. object OneToManies6SQLToCollection
  100. object OneToManies6SQLToList
  101. object OneToManies6SQLToOption
  102. object OneToManies6SQLToTraversable
  103. object OneToManies7SQL
  104. object OneToManies7SQLToCollection
  105. object OneToManies7SQLToList
  106. object OneToManies7SQLToOption
  107. object OneToManies7SQLToTraversable
  108. object OneToManies8SQL
  109. object OneToManies8SQLToCollection
  110. object OneToManies8SQLToList
  111. object OneToManies8SQLToOption
  112. object OneToManies8SQLToTraversable
  113. object OneToManies9SQL
  114. object OneToManies9SQLToCollection
  115. object OneToManies9SQLToList
  116. object OneToManies9SQLToOption
  117. object OneToManies9SQLToTraversable
  118. object OneToManySQL
  119. object OneToManySQLToCollection
  120. object OneToManySQLToList
  121. object OneToManySQLToOption
  122. object OneToManySQLToTraversable
  123. object OneToOneSQL
  124. object OneToOneSQLToCollection
  125. object OneToOneSQLToList
  126. object OneToOneSQLToOption
  127. object OneToOneSQLToTraversable
  128. object OneToXSQL
  129. object ParameterBinder

    ParameterBinder factory.

  130. object ParameterBinderFactory extends LowPriorityImplicitsParameterBinderFactory1
  131. object ReadOnlyAutoSession extends DBSession with Product with Serializable

    Represents that already existing session will be used or a new read-only session will be started.

  132. object SQL

    SQL abstraction's companion object

    SQL abstraction's companion object

    ConnectionPool.singleton("jdbc:...","user","password")
    case class User(id: Int, name: String)
    
    val users = DB.readOnly { implicit session =>
      SQL("select * from user").map { rs =>
        User(rs.int("id"), rs.string("name"))
      }.list.apply()
    }
    
    DB .autoCommit { implicit session =>
      SQL("insert into user values (?,?)").bind(123, "Alice").update.apply()
    }
    
    DB localTx { implicit session =>
      SQL("insert into user values (?,?)").bind(123, "Alice").update.apply()
    }
    
    using(DB(ConnectionPool.borrow())) { db =>
      db.begin()
      try {
        DB withTx { implicit session =>
          SQL("update user set name = ? where id = ?").bind("Alice", 123).update.apply()
        }
        db.commit()
      } catch { case e =>
        db.rollbackIfActive()
        throw e
      }
    }
  133. object SQLBatch
  134. object SQLBatchWithGeneratedKey
  135. object SQLExecution
  136. object SQLFormatterSettings extends Serializable
  137. object SQLTemplateParser extends JavaTokenParsers with LogSupport

    SQL Template Parser.

    SQL Template Parser.

    This parser supports following templates.

    Basic SQL Template:

    select * from user where id = ? and user_name = ?

    Anorm-like SQL Template:

    select * from user where id = {id} and user_name = {userName}

    Executable SQL Template:

    select * from user where id = /*'id*/123 and user_name = /*'userName*/\'Alice'

    ExecutableSQL is the template which contains parameter names just as comments with dummy values without specific syntax. The template is a valid SQL, so you can check it is correct before building into app.

  138. object SQLToCollectionImpl
  139. object SQLToListImpl
  140. object SQLToOptionImpl
  141. object SQLToTraversableImpl
  142. object SQLUpdate
  143. object SQLUpdateWithGeneratedKey
  144. object ScalikejdbcBuildInfo extends Product with Serializable

    This object was generated by sbt-buildinfo.

  145. object SettingsProvider
  146. object StatementExecutor extends Serializable

    Companion object.

  147. object StringSQLRunner extends Serializable
  148. object ThreadLocalDB

    Thread-local DB.

  149. object TimeZoneConverter
  150. object TxBoundary

    TxBoundary type class instances.

  151. object TypeBinder extends LowPriorityTypeBinderImplicits

    Type binder for java.sql.ResultSet.

  152. object UnixTimeInMillisConverterImplicits extends UnixTimeInMillisConverterImplicits

Ungrouped