trait SQLiteProfile extends JdbcProfile with MultipleRowsPerStatementSupport
Slick profile for SQLite.
This profile implements slick.jdbc.JdbcProfile without the following capabilities:
- slick.relational.RelationalCapabilities.functionDatabase,
slick.relational.RelationalCapabilities.functionUser:
Functions.user
andFunctions.database
are not available in SQLite. Slick will return empty strings for both. - slick.relational.RelationalCapabilities.joinFull, slick.relational.RelationalCapabilities.joinRight: Right and full outer joins are emulated because there is not native support for them.
- slick.jdbc.JdbcCapabilities.mutable: SQLite does not allow mutation of result sets. All cursors are read-only.
- slick.sql.SqlCapabilities.sequence: Sequences are not supported by SQLite.
- slick.jdbc.JdbcCapabilities.returnInsertOther: When returning columns from an INSERT operation, only a single column may be specified which must be the table's AutoInc column.
- slick.relational.RelationalCapabilities.typeBigDecimal: SQLite does not support a decimal type.
- slick.relational.RelationalCapabilities.typeBlob: Blobs are
not supported by the SQLite JDBC driver (but binary data in the form of
Array[Byte]
is). - slick.relational.RelationalCapabilities.zip:
Row numbers (required by
zip
andzipWithIndex
) are not supported. Trying to generate SQL code which uses this feature throws a SlickException. - slick.jdbc.JdbcCapabilities.insertOrUpdate:
InsertOrUpdate operations are emulated on the client side if the
data to insert contains an
AutoInc
field. Otherwise the operation is performed natively on the server side. - slick.jdbc.JdbcCapabilities.defaultValueMetaData: The stable xerial sqlite-jdbc driver 3.7.2 does not return default values for columns in the DatabaseMetaData. Consequently they also do not appear in Slick's model. This has been fixed in sqlite-jdbc, but the only released version that contains the fix is milestone 3.7.15-M1. You can use it instead of the stable 3.7.2 in order to get default values with SQLite. Also see https://code.google.com/p/sqlite-jdbc/issues/detail?id=27
- slick.jdbc.JdbcCapabilities.booleanMetaData: SQLite doesn't have booleans, so Slick maps to INTEGER instead. Other jdbc drivers like MySQL map TINYINT(1) back to a Scala Boolean. SQLite maps INTEGER to an Integer and that's how it shows up in the jdbc meta data, thus the original type is lost.
- slick.jdbc.JdbcCapabilities.distinguishesIntTypes: SQLite does not distinguish integer types and maps them all to Int in the meta data.
- slick.jdbc.JdbcCapabilities.supportsByte: SQLite does not distinguish integer types and maps them all to Int in the meta data.
- slick.jdbc.JdbcCapabilities.returnMultipleInsertKey: SQLite returns the last generated key only.
- Source
- SQLiteProfile.scala
- Alphabetic
- By Inheritance
- SQLiteProfile
- MultipleRowsPerStatementSupport
- JdbcProfile
- JdbcMappingCompilerComponent
- JdbcStatementBuilderComponent
- JdbcModelComponent
- JdbcTypesComponent
- JdbcInvokerComponent
- JdbcActionComponent
- SqlProfile
- SqlUtilsComponent
- SqlActionComponent
- SqlTableComponent
- RelationalProfile
- RelationalActionComponent
- RelationalTypesComponent
- RelationalSequenceComponent
- RelationalTableComponent
- BasicProfile
- BasicActionComponent
- AnyRef
- Any
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Type Members
- trait BasicQueryActionExtensionMethodsImpl[R, S <: NoStream] extends AnyRef
- Definition Classes
- BasicActionComponent
- trait BasicStreamingQueryActionExtensionMethodsImpl[R, T] extends BasicProfile.BasicQueryActionExtensionMethodsImpl[R, Streaming[T]]
- Definition Classes
- BasicActionComponent
- trait BasicAPI extends Aliases with ExtensionMethodConversions
- Definition Classes
- BasicProfile
- trait SchemaDescriptionDef extends AnyRef
A schema description contains the SQL statements for creating and dropping database entities.
A schema description contains the SQL statements for creating and dropping database entities. Schema descriptions can be combined for creating or dropping multiple entities together, even if they have circular dependencies.
- Definition Classes
- BasicProfile
- trait CountingInsertActionComposer[U] extends JdbcProfile.InsertActionComposer[U]
An InsertInvoker that returns the number of affected rows.
An InsertInvoker that returns the number of affected rows.
- Definition Classes
- JdbcActionComponent
- class CountingInsertActionComposerImpl[U] extends JdbcProfile.InsertActionComposerImpl[U] with JdbcProfile.CountingInsertActionComposer[U]
- Attributes
- protected
- Definition Classes
- JdbcActionComponent
- class DeleteActionExtensionMethodsImpl extends AnyRef
- Definition Classes
- JdbcActionComponent
- trait InsertActionComposer[U] extends JdbcProfile.SimpleInsertActionComposer[U]
Extension methods to generate the JDBC-specific insert actions.
Extension methods to generate the JDBC-specific insert actions.
- Definition Classes
- JdbcActionComponent
- abstract class InsertActionComposerImpl[U] extends JdbcProfile.InsertActionComposer[U]
- Attributes
- protected
- Definition Classes
- JdbcActionComponent
- trait IntoInsertActionComposer[U, RU] extends JdbcProfile.SimpleInsertActionComposer[U]
An InsertActionComposer that returns a mapping of the inserted and generated data.
An InsertActionComposer that returns a mapping of the inserted and generated data.
- Definition Classes
- JdbcActionComponent
- class JdbcActionExtensionMethods[E <: Effect, R, S <: NoStream] extends AnyRef
- Definition Classes
- JdbcActionComponent
- class JdbcQueryActionExtensionMethodsImpl[R, S <: NoStream] extends JdbcProfile.BasicQueryActionExtensionMethodsImpl[R, S]
- Definition Classes
- JdbcActionComponent
- class JdbcSchemaActionExtensionMethodsImpl extends JdbcProfile.RelationalSchemaActionExtensionMethodsImpl
- Definition Classes
- JdbcActionComponent
- class JdbcStreamingQueryActionExtensionMethodsImpl[R, T] extends JdbcProfile.JdbcQueryActionExtensionMethodsImpl[R, Streaming[T]] with JdbcProfile.BasicStreamingQueryActionExtensionMethodsImpl[R, T]
- Definition Classes
- JdbcActionComponent
- class MutatingResultAction[T] extends SynchronousDatabaseAction[Nothing, Streaming[ResultSetMutator[T]], JdbcActionContext, JdbcStreamingActionContext, Effect] with JdbcProfile.ProfileAction[Nothing, Streaming[ResultSetMutator[T]], Effect]
- Definition Classes
- JdbcActionComponent
- class PushStatementParameters extends SynchronousDatabaseAction[Unit, NoStream, JdbcActionContext, JdbcStreamingActionContext, Effect]
- Attributes
- protected
- Definition Classes
- JdbcActionComponent
- trait ReturningInsertActionComposer[U, RU] extends JdbcProfile.InsertActionComposer[U] with JdbcProfile.IntoInsertActionComposer[U, RU]
An InsertActionComposer that returns generated keys or other columns.
An InsertActionComposer that returns generated keys or other columns.
- Definition Classes
- JdbcActionComponent
- class ReturningInsertActionComposerImpl[U, QR, RU] extends JdbcProfile.InsertActionComposerImpl[U] with JdbcProfile.ReturningInsertActionComposer[U, RU]
- Attributes
- protected
- Definition Classes
- JdbcActionComponent
- class SetTransactionIsolation extends SynchronousDatabaseAction[Int, NoStream, JdbcActionContext, JdbcStreamingActionContext, Effect]
- Attributes
- protected
- Definition Classes
- JdbcActionComponent
- trait SimpleInsertActionComposer[U] extends JdbcProfile.InsertActionExtensionMethodsImpl[U]
Extension methods to generate the JDBC-specific insert actions.
Extension methods to generate the JDBC-specific insert actions.
- Definition Classes
- JdbcActionComponent
- abstract class SimpleJdbcProfileAction[+R] extends SynchronousDatabaseAction[R, NoStream, JdbcActionContext, JdbcStreamingActionContext, Effect] with JdbcProfile.ProfileAction[R, NoStream, Effect]
- Definition Classes
- JdbcActionComponent
- class UpdateActionExtensionMethodsImpl[T] extends AnyRef
- Definition Classes
- JdbcActionComponent
- trait QueryInvoker[R] extends StatementInvoker[R]
An Invoker for queries.
An Invoker for queries.
- Definition Classes
- JdbcInvokerComponent
- class QueryInvokerImpl[R] extends StatementInvoker[R] with JdbcProfile.QueryInvoker[R]
- Definition Classes
- JdbcInvokerComponent
- class JdbcCodeGen extends CodeGen
Code generator phase for queries on JdbcProfile.
Code generator phase for queries on JdbcProfile.
- Definition Classes
- JdbcMappingCompilerComponent
- class JdbcInsertCodeGen extends CodeGen
Code generator phase for inserts on JdbcProfile.
Code generator phase for inserts on JdbcProfile.
- Definition Classes
- JdbcMappingCompilerComponent
- class MappingCompiler extends ResultConverterCompiler[ResultSet, PreparedStatement, ResultSet]
A ResultConverterCompiler that builds JDBC-based converters.
A ResultConverterCompiler that builds JDBC-based converters. Instances of this class use mutable state internally. They are meant to be used for a single conversion only and must not be shared or reused.
- Definition Classes
- JdbcMappingCompilerComponent
- trait JdbcAPI extends JdbcLowPriorityAPI with RelationalAPI with JdbcImplicitColumnTypes
- Definition Classes
- JdbcProfile
- trait JdbcLowPriorityAPI extends AnyRef
- Definition Classes
- JdbcProfile
- class CheckInsertBuilder extends JdbcProfile.UpsertBuilder
Builder for SELECT statements that can be used to check for the existing of primary keys supplied to an INSERT operation.
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.
- Definition Classes
- JdbcStatementBuilderComponent
- class ColumnDDLBuilder extends AnyRef
Builder for column specifications in DDL statements.
Builder for column specifications in DDL statements.
- Definition Classes
- JdbcStatementBuilderComponent
- class InsertBuilder extends AnyRef
Builder for INSERT statements.
Builder for INSERT statements.
- Definition Classes
- JdbcStatementBuilderComponent
- class JdbcCompiledInsert extends AnyRef
- Definition Classes
- JdbcStatementBuilderComponent
- class QueryBuilder extends InterpolationContext
Builder for SELECT and UPDATE statements.
Builder for SELECT and UPDATE statements.
- Definition Classes
- JdbcStatementBuilderComponent
- class SequenceDDLBuilder extends AnyRef
Builder for DDL statements for sequences.
Builder for DDL statements for sequences.
- Definition Classes
- JdbcStatementBuilderComponent
- abstract class StatementPart extends AnyRef
- Definition Classes
- JdbcStatementBuilderComponent
- class TableDDLBuilder extends AnyRef
Builder for various DDL statements.
Builder for various DDL statements.
- Definition Classes
- JdbcStatementBuilderComponent
- class UpdateInsertBuilder extends JdbcProfile.UpsertBuilder
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.
- Definition Classes
- JdbcStatementBuilderComponent
- class UpsertBuilder extends JdbcProfile.InsertBuilder
Builder for upsert statements, builds standard SQL MERGE statements by default.
Builder for upsert statements, builds standard SQL MERGE statements by default.
- Definition Classes
- JdbcStatementBuilderComponent
- abstract class DriverJdbcType[T] extends JdbcType[T]
- Definition Classes
- JdbcTypesComponent
- trait JdbcImplicitColumnTypes extends JdbcProfile.RelationalImplicitColumnTypes
- Definition Classes
- JdbcTypesComponent
- class JdbcTypes extends AnyRef
- Definition Classes
- JdbcTypesComponent
- abstract class MappedJdbcType[T, U] extends JdbcType[T]
- Definition Classes
- JdbcTypesComponent
- type Backend = JdbcBackend
The back-end type required by this profile
The back-end type required by this profile
- Definition Classes
- JdbcProfile → RelationalProfile → BasicProfile
- type BaseColumnType[T] = JdbcType[T] with BaseTypedType[T]
- Definition Classes
- JdbcProfile → RelationalTypesComponent
- type ColumnType[T] = JdbcType[T]
- Definition Classes
- JdbcProfile → RelationalTypesComponent
- type CompiledInsert = JdbcCompiledInsert
The type of a (partially) compiled AST for Insert operations.
The type of a (partially) compiled AST for Insert operations. Unlike querying or deleting, inserts may require different compilation results which should be computed lazily.
- Definition Classes
- JdbcProfile → BasicProfile
- type DeleteActionExtensionMethods = DeleteActionExtensionMethodsImpl
- Definition Classes
- JdbcActionComponent
- type InsertActionExtensionMethods[T] = CountingInsertActionComposer[T]
- Definition Classes
- JdbcActionComponent → RelationalActionComponent
- type ProfileAction[+R, +S <: NoStream, -E <: Effect] = FixedSqlAction[R, S, E]
- Definition Classes
- JdbcActionComponent → SqlActionComponent → BasicActionComponent
- type QueryActionExtensionMethods[R, S <: NoStream] = JdbcQueryActionExtensionMethodsImpl[R, S]
- Definition Classes
- JdbcActionComponent → BasicActionComponent
- type ResultConverterReader = ResultSet
- Definition Classes
- JdbcProfile → RelationalProfile
- type ResultConverterUpdater = ResultSet
- Definition Classes
- JdbcProfile → RelationalProfile
- type ResultConverterWriter = PreparedStatement
- Definition Classes
- JdbcProfile → RelationalProfile
- type RowsPerStatement = jdbc.RowsPerStatement
- Definition Classes
- MultipleRowsPerStatementSupport → JdbcActionComponent
- class SQLiteColumnDDLBuilder extends ColumnDDLBuilder
- class SQLiteCountingInsertActionComposerImpl[U] extends CountingInsertActionComposerImpl[U]
- class SQLiteInsertBuilder extends InsertBuilder
- class SQLiteJdbcTypes extends JdbcTypes
- class SQLiteModelBuilder extends JdbcModelBuilder
- class SQLiteQueryBuilder extends QueryBuilder
- class SQLiteTableDDLBuilder extends TableDDLBuilder
- class SQLiteUpsertBuilder extends InsertBuilder
- type SchemaActionExtensionMethods = JdbcSchemaActionExtensionMethodsImpl
- Definition Classes
- JdbcActionComponent → RelationalActionComponent
- type SchemaDescription = DDL
The type of a schema description (DDL)
The type of a schema description (DDL)
- Definition Classes
- SqlProfile → BasicProfile
- type StreamingProfileAction[+R, +T, -E <: Effect] = FixedSqlStreamingAction[R, T, E]
- Definition Classes
- JdbcActionComponent → SqlActionComponent → BasicActionComponent
- type StreamingQueryActionExtensionMethods[R, T] = JdbcStreamingQueryActionExtensionMethodsImpl[R, T]
- Definition Classes
- JdbcActionComponent → BasicActionComponent
- type UpdateActionExtensionMethods[T] = UpdateActionExtensionMethodsImpl[T]
- Definition Classes
- JdbcActionComponent
- trait InsertActionExtensionMethodsImpl[T] extends AnyRef
- Definition Classes
- RelationalActionComponent
- trait RelationalSchemaActionExtensionMethodsImpl extends AnyRef
- Definition Classes
- RelationalActionComponent
- class FastPathExtensionMethods[R, W, U, T] extends AnyRef
- Definition Classes
- RelationalProfile
- trait RelationalAPI extends BasicAPI with RelationalImplicitColumnTypes
- Definition Classes
- RelationalProfile
- class TableQueryExtensionMethods[T <: Table[_], U] extends AnyRef
- Definition Classes
- RelationalProfile
- class Sequence[T] extends AnyRef
- Definition Classes
- RelationalSequenceComponent
- trait RelationalColumnOptions extends AnyRef
- Definition Classes
- RelationalTableComponent
- abstract class Table[T] extends AbstractTable[T]
- Definition Classes
- RelationalTableComponent
- trait MappedColumnTypeFactory extends AnyRef
- Definition Classes
- RelationalTypesComponent
- trait RelationalImplicitColumnTypes extends AnyRef
- Definition Classes
- RelationalTypesComponent
- trait DDL extends SchemaDescriptionDef
- Definition Classes
- SqlProfile
- trait SqlColumnOptions extends SqlProfile.RelationalColumnOptions
- Definition Classes
- SqlTableComponent
- class QuotingSymbolNamer extends SymbolNamer
- Definition Classes
- SqlUtilsComponent
Value Members
- object Commit extends SynchronousDatabaseAction[Unit, NoStream, JdbcActionContext, JdbcStreamingActionContext, Effect]
- Attributes
- protected
- Definition Classes
- JdbcActionComponent
- object PopStatementParameters extends SynchronousDatabaseAction[Unit, NoStream, JdbcActionContext, JdbcStreamingActionContext, Effect]
- Attributes
- protected
- Definition Classes
- JdbcActionComponent
- object Rollback extends SynchronousDatabaseAction[Unit, NoStream, JdbcActionContext, JdbcStreamingActionContext, Effect]
- Attributes
- protected
- Definition Classes
- JdbcActionComponent
- object StartTransaction extends SynchronousDatabaseAction[Unit, NoStream, JdbcActionContext, JdbcStreamingActionContext, Effect]
- Attributes
- protected
- Definition Classes
- JdbcActionComponent
- case object FromPart extends JdbcProfile.StatementPart with Product with Serializable
- Definition Classes
- JdbcStatementBuilderComponent
- case object HavingPart extends JdbcProfile.StatementPart with Product with Serializable
- Definition Classes
- JdbcStatementBuilderComponent
- case object OtherPart extends JdbcProfile.StatementPart with Product with Serializable
- Definition Classes
- JdbcStatementBuilderComponent
- case object SelectPart extends JdbcProfile.StatementPart with Product with Serializable
- Definition Classes
- JdbcStatementBuilderComponent
- case object WherePart extends JdbcProfile.StatementPart with Product with Serializable
- Definition Classes
- JdbcStatementBuilderComponent
- object JdbcType
- Definition Classes
- JdbcTypesComponent
- object MappedJdbcType extends JdbcProfile.MappedColumnTypeFactory
- Definition Classes
- JdbcTypesComponent
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def ->[B](y: B): (SQLiteProfile, B)
- Implicit
- This member is added by an implicit conversion from SQLiteProfile toArrowAssoc[SQLiteProfile] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- lazy val MappedColumnType: MappedJdbcType.type
- Definition Classes
- JdbcProfile → RelationalTypesComponent
- val api: JdbcAPI
The API for using the query language with a single import statement.
The API for using the query language with a single import statement. This provides the profile's implicits, the Database API and commonly used query language types and objects.
- Definition Classes
- JdbcProfile → RelationalProfile → BasicProfile
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val backend: Backend
The back-end implementation for this profile
The back-end implementation for this profile
- Definition Classes
- JdbcProfile → BasicProfile
- final def buildSequenceSchemaDescription(seq: Sequence[_]): DDL
- Definition Classes
- JdbcProfile → RelationalSequenceComponent
- final def buildTableSchemaDescription(table: Table[_]): DDL
- Definition Classes
- JdbcProfile → RelationalTableComponent
- final val capabilities: Set[Capability]
The capabilities supported by this profile.
The capabilities supported by this profile. This can be used to query at runtime whether a specific feature is supported.
- Definition Classes
- BasicProfile
- lazy val checkInsertCompiler: QueryCompiler
- Definition Classes
- JdbcProfile
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- val columnOptions: SqlColumnOptions
- Definition Classes
- SqlTableComponent → RelationalTableComponent
- val columnTypes: SQLiteJdbcTypes
- Definition Classes
- SQLiteProfile → JdbcProfile
- def compileInsert(tree: Node): CompiledInsert
(Partially) compile an AST for insert operations
(Partially) compile an AST for insert operations
- Definition Classes
- JdbcProfile → BasicProfile
- final lazy val compiler: QueryCompiler
- Definition Classes
- RelationalProfile
- def computeCapabilities: Set[Capability]
Compute the capabilities.
Compute the capabilities. This should be overridden in subclasses as needed.
- Attributes
- protected
- Definition Classes
- SQLiteProfile → JdbcProfile → SqlProfile → RelationalProfile → BasicProfile
- def computeQueryCompiler: QueryCompiler
- Attributes
- protected
- Definition Classes
- SqlProfile → RelationalProfile
- def createBaseResultConverter[T](ti: JdbcType[T], name: String, idx: Int): ResultConverter[ResultSet, PreparedStatement, ResultSet, T]
Create a (possibly specialized)
ResultConverter
for the givenJdbcType
.Create a (possibly specialized)
ResultConverter
for the givenJdbcType
.- Definition Classes
- JdbcMappingCompilerComponent
- def createCheckInsertBuilder(node: Insert): InsertBuilder
- Definition Classes
- JdbcStatementBuilderComponent
- def createColumnDDLBuilder(column: FieldSymbol, table: Table[_]): ColumnDDLBuilder
- Definition Classes
- SQLiteProfile → JdbcStatementBuilderComponent
- def createDeleteActionExtensionMethods(tree: Node, param: Any): DeleteActionExtensionMethods
- Definition Classes
- JdbcActionComponent
- def createInsertActionExtensionMethods[T](compiled: CompiledInsert): InsertActionExtensionMethods[T]
- Definition Classes
- SQLiteProfile → JdbcActionComponent → RelationalActionComponent
- def createInsertBuilder(node: Insert): InsertBuilder
- Definition Classes
- SQLiteProfile → JdbcStatementBuilderComponent
- def createModel(tables: Option[DBIO[Seq[MTable]]] = None, ignoreInvalidDefaults: Boolean = true)(implicit ec: ExecutionContext): DBIO[Model]
Gets the Slick data model describing this data source
Gets the Slick data model describing this data source
- tables
used to build the model, uses defaultTables if None given
- ignoreInvalidDefaults
logs unrecognized default values instead of throwing an exception
- Definition Classes
- JdbcModelComponent
- def createModelBuilder(tables: Seq[MTable], ignoreInvalidDefaults: Boolean)(implicit ec: ExecutionContext): JdbcModelBuilder
- Definition Classes
- SQLiteProfile → JdbcModelComponent
- def createOptionResultConverter[T](ti: JdbcType[T], idx: Int): ResultConverter[ResultSet, PreparedStatement, ResultSet, Option[T]]
Create a (possibly specialized)
ResultConverter
forOption
values of the givenJdbcType
.Create a (possibly specialized)
ResultConverter
forOption
values of the givenJdbcType
.- Definition Classes
- JdbcMappingCompilerComponent
- def createQueryActionExtensionMethods[R, S <: NoStream](tree: Node, param: Any): QueryActionExtensionMethods[R, S]
- Definition Classes
- JdbcActionComponent → BasicActionComponent
- def createQueryBuilder(n: Node, state: CompilerState): QueryBuilder
- Definition Classes
- SQLiteProfile → JdbcStatementBuilderComponent
- def createQueryInvoker[R](tree: Node, param: Any, sql: String): QueryInvokerImpl[R]
- Definition Classes
- JdbcInvokerComponent
- def createReturningInsertActionComposer[U, QR, RU](compiled: JdbcCompiledInsert, keys: Node, mux: (U, QR) => RU): ReturningInsertActionComposer[U, RU]
- Definition Classes
- SQLiteProfile → JdbcActionComponent
- def createSchemaActionExtensionMethods(schema: SchemaDescription): SchemaActionExtensionMethods
- Definition Classes
- JdbcActionComponent → RelationalActionComponent
- def createSequenceDDLBuilder(seq: Sequence[_]): SequenceDDLBuilder
- Definition Classes
- JdbcStatementBuilderComponent
- def createStreamingQueryActionExtensionMethods[R, T](tree: Node, param: Any): StreamingQueryActionExtensionMethods[R, T]
- Definition Classes
- JdbcActionComponent → BasicActionComponent
- def createTableDDLBuilder(table: Table[_]): TableDDLBuilder
- Definition Classes
- SQLiteProfile → JdbcStatementBuilderComponent
- def createUpdateActionExtensionMethods[T](tree: Node, param: Any): UpdateActionExtensionMethods[T]
- Definition Classes
- JdbcActionComponent
- def createUpdateInsertBuilder(node: Insert): InsertBuilder
- Definition Classes
- JdbcStatementBuilderComponent
- def createUpsertBuilder(node: Insert): InsertBuilder
- Definition Classes
- SQLiteProfile → JdbcStatementBuilderComponent
- def defaultRowsPerStatement: All.type
- Definition Classes
- MultipleRowsPerStatementSupport → JdbcActionComponent
- def defaultSqlTypeName(tmd: JdbcType[_], sym: Option[FieldSymbol]): String
- Definition Classes
- SQLiteProfile → JdbcTypesComponent
- def defaultTables(implicit ec: ExecutionContext): DBIO[Seq[MTable]]
Jdbc meta data for all tables included in the Slick model by default
Jdbc meta data for all tables included in the Slick model by default
- Definition Classes
- SQLiteProfile → JdbcModelComponent
- lazy val deleteCompiler: QueryCompiler
The compiler used for deleting data
The compiler used for deleting data
- Definition Classes
- JdbcProfile → BasicProfile
- def ensuring(cond: (SQLiteProfile) => Boolean, msg: => Any): SQLiteProfile
- Implicit
- This member is added by an implicit conversion from SQLiteProfile toEnsuring[SQLiteProfile] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (SQLiteProfile) => Boolean): SQLiteProfile
- Implicit
- This member is added by an implicit conversion from SQLiteProfile toEnsuring[SQLiteProfile] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): SQLiteProfile
- Implicit
- This member is added by an implicit conversion from SQLiteProfile toEnsuring[SQLiteProfile] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): SQLiteProfile
- Implicit
- This member is added by an implicit conversion from SQLiteProfile toEnsuring[SQLiteProfile] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- lazy val forceInsertCompiler: QueryCompiler
- Definition Classes
- JdbcProfile
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- lazy val insertCompiler: QueryCompiler
The compiler used for inserting data
The compiler used for inserting data
- Definition Classes
- JdbcProfile → BasicProfile
- val invokerMutateConcurrency: ResultSetConcurrency
- Attributes
- protected
- Definition Classes
- JdbcInvokerComponent
- val invokerMutateType: ResultSetType
- Attributes
- protected
- Definition Classes
- JdbcInvokerComponent
- val invokerPreviousAfterDelete: Boolean
- Attributes
- protected
- Definition Classes
- JdbcInvokerComponent
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def jdbcTypeFor(t: Type): JdbcType[Any]
- Definition Classes
- JdbcTypesComponent
- def likeEncode(s: String): String
- Definition Classes
- SqlUtilsComponent
- def loadProfileConfig: Config
Load the configuration for this profile.
Load the configuration for this profile. This can be overridden in user-defined subclasses to load different configurations.
The default implementation does a breadth-first search in the supertype hierarchy of the runtime class until it finds a class or trait with a name matching "slick.[...]Profile" and then returns uses this name as a path in the application config. If no configuration exists at this path, an empty Config object is returned.
- Attributes
- protected[this]
- Definition Classes
- BasicProfile
- val mappingCompiler: MappingCompiler
The
MappingCompiler
for this profile.The
MappingCompiler
for this profile.- Definition Classes
- JdbcMappingCompilerComponent
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final lazy val profileConfig: Config
The configuration for this profile, loaded via loadProfileConfig.
The configuration for this profile, loaded via loadProfileConfig.
- Attributes
- protected[this]
- Definition Classes
- BasicProfile
- lazy val queryCompiler: QueryCompiler
The compiler used for queries
The compiler used for queries
- Definition Classes
- JdbcProfile → BasicProfile
- def quoteIdentifier(id: String): String
quotes identifiers to avoid collisions with SQL keywords and other syntax issues
quotes identifiers to avoid collisions with SQL keywords and other syntax issues
- Definition Classes
- SqlUtilsComponent
- def quoteTableName(t: TableNode): String
- Definition Classes
- SqlUtilsComponent
- def runSynchronousQuery[R](tree: Node, param: Any)(implicit session: Session): R
Run a query synchronously on the provided session.
Run a query synchronously on the provided session. This is used by DistributedProfile until we can make it fully asynchronous.
- Definition Classes
- JdbcProfile → RelationalProfile
- val scalarFrom: Option[String]
The table name for scalar selects (e.g.
The table name for scalar selects (e.g. "select 42 from DUAL;"), or
None
for scalar selects without a FROM clause ("select 42;").- Definition Classes
- JdbcStatementBuilderComponent
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- BasicProfile → AnyRef → Any
- lazy val updateCompiler: QueryCompiler
The compiler used for updates
The compiler used for updates
- Definition Classes
- JdbcProfile → BasicProfile
- lazy val updateInsertCompiler: QueryCompiler
- Definition Classes
- JdbcProfile
- lazy val upsertCompiler: QueryCompiler
- Definition Classes
- JdbcProfile
- lazy val useServerSideUpsert: Boolean
- Attributes
- protected
- Definition Classes
- JdbcActionComponent
- lazy val useServerSideUpsertReturning: Boolean
- Attributes
- protected
- Definition Classes
- JdbcActionComponent
- lazy val useTransactionForUpsert: Boolean
- Attributes
- protected
- Definition Classes
- JdbcActionComponent
- lazy val useTransactionForUpsertReturning: Boolean
- Attributes
- protected
- Definition Classes
- JdbcActionComponent
- def valueToSQLLiteral(v: Any, tpe: Type): String
Create a SQL representation of a literal value.
Create a SQL representation of a literal value.
- Definition Classes
- JdbcStatementBuilderComponent
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object Sequence
- Definition Classes
- RelationalSequenceComponent
- object DDL
- Definition Classes
- SqlProfile
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from SQLiteProfile toStringFormat[SQLiteProfile] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (SQLiteProfile, B)
- Implicit
- This member is added by an implicit conversion from SQLiteProfile toArrowAssoc[SQLiteProfile] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
edit this text on github
Scala Language-Integrated Connection Kit
This is the API documentation for the Slick database library. It should be used as an additional resource to the user manual.
Further documentation for Slick can be found on the documentation pages.
To the slick package list...