JdbcStatementBuilderComponent

slick.jdbc.JdbcStatementBuilderComponent

Attributes

Source
JdbcStatementBuilderComponent.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait JdbcProfile
trait DB2Profile
object DB2Profile.type
trait DerbyProfile
object DerbyProfile.type
trait H2Profile
object H2Profile.type
object HsqldbProfile.type
trait MySQLProfile
object MySQLProfile.type
object OracleProfile.type
object PostgresProfile.type
object SQLServerProfile.type
object SQLiteProfile.type
Show all
Self type

Members list

Type members

Classlikes

Builder for SELECT statements that can be used to check for the existing of primary keys supplied to an INSERT operation. Used by the insertOrUpdate emulation on databases that don't support this in a single server-side statement.

Builder for SELECT statements that can be used to check for the existing of primary keys supplied to an INSERT operation. Used by the insertOrUpdate emulation on databases that don't support this in a single server-side statement.

Attributes

Source
JdbcStatementBuilderComponent.scala
Supertypes
class Object
trait Matchable
class Any
class ColumnDDLBuilder(column: FieldSymbol)

Builder for column specifications in DDL statements.

Builder for column specifications in DDL statements.

Attributes

Source
JdbcStatementBuilderComponent.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
case object FromPart extends StatementPart

Attributes

Source
JdbcStatementBuilderComponent.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
FromPart.type
case object HavingPart extends StatementPart

Attributes

Source
JdbcStatementBuilderComponent.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
HavingPart.type
class InsertBuilder(val ins: Insert)

Builder for INSERT statements.

Builder for INSERT statements.

Attributes

Source
JdbcStatementBuilderComponent.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class JdbcCompiledInsert(source: Node)

Attributes

Source
JdbcStatementBuilderComponent.scala
Supertypes
class Object
trait Matchable
class Any
case object OtherPart extends StatementPart

Attributes

Source
JdbcStatementBuilderComponent.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
OtherPart.type
class QueryBuilder(val tree: Node, val state: CompilerState) extends InterpolationContext

Builder for SELECT and UPDATE statements.

Builder for SELECT and UPDATE statements.

Attributes

Source
JdbcStatementBuilderComponent.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type
case object SelectPart extends StatementPart

Attributes

Source
JdbcStatementBuilderComponent.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
SelectPart.type
class SequenceDDLBuilder(seq: Sequence[_])

Builder for DDL statements for sequences.

Builder for DDL statements for sequences.

Attributes

Source
JdbcStatementBuilderComponent.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
abstract class StatementPart

Attributes

Source
JdbcStatementBuilderComponent.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object FromPart.type
object HavingPart.type
object OtherPart.type
object SelectPart.type
object WherePart.type
class TableDDLBuilder(val table: Table[_])

Builder for various DDL statements.

Builder for various DDL statements.

Attributes

Source
JdbcStatementBuilderComponent.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type

Builder for UPDATE statements used as part of an insertOrUpdate operation on databases that don't support this in a single server-side statement.

Builder for UPDATE statements used as part of an insertOrUpdate operation on databases that don't support this in a single server-side statement.

Attributes

Source
JdbcStatementBuilderComponent.scala
Supertypes
class Object
trait Matchable
class Any
class UpsertBuilder(ins: Insert) extends InsertBuilder

Builder for upsert statements, builds standard SQL MERGE statements by default.

Builder for upsert statements, builds standard SQL MERGE statements by default.

Attributes

Source
JdbcStatementBuilderComponent.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
case object WherePart extends StatementPart

Attributes

Source
JdbcStatementBuilderComponent.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
WherePart.type

Value members

Concrete methods

def valueToSQLLiteral(v: Any, tpe: Type): String

Create a SQL representation of a literal value.

Create a SQL representation of a literal value.

Attributes

Source
JdbcStatementBuilderComponent.scala

Concrete fields

val scalarFrom: Option[String]

The table name for scalar selects (e.g. "select 42 from DUAL;"), or None for scalar selects without a FROM clause ("select 42;").

The table name for scalar selects (e.g. "select 42 from DUAL;"), or None for scalar selects without a FROM clause ("select 42;").

Attributes

Source
JdbcStatementBuilderComponent.scala