Trait/Object

slick.sql

SqlProfile

Related Docs: object SqlProfile | package sql

Permalink

trait SqlProfile extends RelationalProfile with SqlTableComponent with SqlActionComponent with SqlUtilsComponent

Abstract profile for SQL-based databases.

Source
SqlProfile.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SqlProfile
  2. SqlUtilsComponent
  3. SqlActionComponent
  4. SqlTableComponent
  5. RelationalProfile
  6. RelationalActionComponent
  7. RelationalTypesComponent
  8. RelationalSequenceComponent
  9. RelationalTableComponent
  10. BasicProfile
  11. BasicActionComponent
  12. AnyRef
  13. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait API extends RelationalProfile.API with ImplicitColumnTypes

    Permalink
    Definition Classes
    RelationalProfile
  2. abstract type Backend <: RelationalBackend

    Permalink

    The back-end type required by this profile

    The back-end type required by this profile

    Definition Classes
    RelationalProfileBasicProfile
  3. abstract type BaseColumnType[T] <: ColumnType[T] with BaseTypedType[T]

    Permalink
    Definition Classes
    RelationalTypesComponent
  4. trait ColumnOptions extends SqlProfile.ColumnOptions

    Permalink
    Definition Classes
    SqlTableComponent
  5. abstract type ColumnType[T] <: TypedType[T]

    Permalink
    Definition Classes
    RelationalTypesComponent
  6. abstract type CompiledInsert

    Permalink

    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
    BasicProfile
  7. trait DDL extends SchemaDescriptionDef

    Permalink
  8. class FastPathExtensionMethods[M <: ResultConverterDomain, T, P] extends AnyRef

    Permalink
    Definition Classes
    RelationalProfile
  9. trait ImplicitColumnTypes extends AnyRef

    Permalink
    Definition Classes
    RelationalTypesComponent
  10. abstract type InsertActionExtensionMethods[T] <: InsertActionExtensionMethodsImpl[T]

    Permalink
    Definition Classes
    RelationalActionComponent
  11. trait InsertActionExtensionMethodsImpl[T] extends AnyRef

    Permalink
    Definition Classes
    RelationalActionComponent
  12. trait MappedColumnTypeFactory extends AnyRef

    Permalink
    Definition Classes
    RelationalTypesComponent
  13. abstract type ProfileAction[+R, +S <: NoStream, -E <: Effect] <: SqlAction[R, S, E]

    Permalink
  14. abstract type QueryActionExtensionMethods[R, S <: NoStream] <: QueryActionExtensionMethodsImpl[R, S]

    Permalink
    Definition Classes
    BasicActionComponent
  15. trait QueryActionExtensionMethodsImpl[R, S <: NoStream] extends AnyRef

    Permalink
    Definition Classes
    BasicActionComponent
  16. class QuotingSymbolNamer extends SymbolNamer

    Permalink
    Definition Classes
    SqlUtilsComponent
  17. abstract type SchemaActionExtensionMethods <: SchemaActionExtensionMethodsImpl

    Permalink
    Definition Classes
    RelationalActionComponent
  18. trait SchemaActionExtensionMethodsImpl extends AnyRef

    Permalink
    Definition Classes
    RelationalActionComponent
  19. type SchemaDescription = DDL

    Permalink

    The type of a schema description (DDL)

    The type of a schema description (DDL)

    Definition Classes
    SqlProfileBasicProfile
  20. trait SchemaDescriptionDef extends AnyRef

    Permalink

    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
  21. class Sequence[T] extends AnyRef

    Permalink
    Definition Classes
    RelationalSequenceComponent
  22. abstract type StreamingProfileAction[+R, +T, -E <: Effect] <: SqlStreamingAction[R, T, E] with ProfileAction[R, Streaming[T], E]

    Permalink
  23. abstract type StreamingQueryActionExtensionMethods[R, T] <: StreamingQueryActionExtensionMethodsImpl[R, T]

    Permalink
    Definition Classes
    BasicActionComponent
  24. trait StreamingQueryActionExtensionMethodsImpl[R, T] extends BasicProfile.QueryActionExtensionMethodsImpl[R, Streaming[T]]

    Permalink
    Definition Classes
    BasicActionComponent
  25. abstract class Table[T] extends AbstractTable[T]

    Permalink
    Definition Classes
    RelationalTableComponent
  26. class TableQueryExtensionMethods[T <: Table[_], U] extends AnyRef

    Permalink
    Definition Classes
    RelationalProfile
  27. final type DriverAction[+R, +S <: NoStream, -E <: Effect] = ProfileAction[R, S, E]

    Permalink
    Definition Classes
    BasicActionComponent
    Annotations
    @deprecated
    Deprecated

    (Since version 3.2) Use ProfileAction instead of DriverAction

  28. final type StreamingDriverAction[+R, +T, -E <: Effect] = StreamingProfileAction[R, T, E]

    Permalink
    Definition Classes
    BasicActionComponent
    Annotations
    @deprecated
    Deprecated

    (Since version 3.2) Use StreamingProfileAction instead of StreamingDriverAction

Abstract Value Members

  1. abstract val MappedColumnType: MappedColumnTypeFactory

    Permalink
    Definition Classes
    RelationalTypesComponent
  2. abstract val api: API

    Permalink

    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
    RelationalProfileBasicProfile
  3. abstract val backend: Backend

    Permalink

    The back-end implementation for this profile

    The back-end implementation for this profile

    Definition Classes
    BasicProfile
  4. abstract def buildSequenceSchemaDescription(seq: Sequence[_]): SchemaDescription

    Permalink
    Definition Classes
    RelationalSequenceComponent
  5. abstract def buildTableSchemaDescription(table: Table[_]): SchemaDescription

    Permalink
    Definition Classes
    RelationalTableComponent
  6. abstract def compileInsert(n: Node): CompiledInsert

    Permalink

    (Partially) ompile an AST for insert operations

    (Partially) ompile an AST for insert operations

    Definition Classes
    BasicProfile
  7. abstract def createInsertActionExtensionMethods[T](compiled: CompiledInsert): InsertActionExtensionMethods[T]

    Permalink
    Definition Classes
    RelationalActionComponent
  8. abstract def createQueryActionExtensionMethods[R, S <: NoStream](tree: Node, param: Any): QueryActionExtensionMethods[R, S]

    Permalink
    Definition Classes
    BasicActionComponent
  9. abstract def createSchemaActionExtensionMethods(schema: SchemaDescription): SchemaActionExtensionMethods

    Permalink
    Definition Classes
    RelationalActionComponent
  10. abstract def createStreamingQueryActionExtensionMethods[R, T](tree: Node, param: Any): StreamingQueryActionExtensionMethods[R, T]

    Permalink
    Definition Classes
    BasicActionComponent
  11. abstract def deleteCompiler: QueryCompiler

    Permalink

    The compiler used for deleting data

    The compiler used for deleting data

    Definition Classes
    BasicProfile
  12. abstract def insertCompiler: QueryCompiler

    Permalink

    The compiler used for inserting data

    The compiler used for inserting data

    Definition Classes
    BasicProfile
  13. abstract def queryCompiler: QueryCompiler

    Permalink

    The compiler used for queries

    The compiler used for queries

    Definition Classes
    BasicProfile
  14. abstract def runSynchronousQuery[R](tree: Node, param: Any)(implicit session: relational.RelationalProfile.Backend.Session): R

    Permalink

    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
    RelationalProfile
  15. abstract def updateCompiler: QueryCompiler

    Permalink

    The compiler used for updates

    The compiler used for updates

    Definition Classes
    BasicProfile

Concrete Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from SqlProfile to any2stringadd[SqlProfile] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (SqlProfile, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from SqlProfile to ArrowAssoc[SqlProfile] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. object DDL

    Permalink
  7. object Sequence

    Permalink
    Definition Classes
    RelationalSequenceComponent
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. final val capabilities: Set[Capability]

    Permalink

    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
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. val columnOptions: ColumnOptions

    Permalink
  12. final lazy val compiler: QueryCompiler

    Permalink
    Definition Classes
    RelationalProfile
  13. def computeCapabilities: Set[Capability]

    Permalink

    Compute the capabilities.

    Compute the capabilities. This should be overridden in subclasses as needed.

    Attributes
    protected
    Definition Classes
    SqlProfileRelationalProfileBasicProfile
  14. def computeQueryCompiler: QueryCompiler

    Permalink
    Attributes
    protected
    Definition Classes
    SqlProfileRelationalProfile
  15. def ensuring(cond: (SqlProfile) ⇒ Boolean, msg: ⇒ Any): SqlProfile

    Permalink
    Implicit information
    This member is added by an implicit conversion from SqlProfile to Ensuring[SqlProfile] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (SqlProfile) ⇒ Boolean): SqlProfile

    Permalink
    Implicit information
    This member is added by an implicit conversion from SqlProfile to Ensuring[SqlProfile] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: ⇒ Any): SqlProfile

    Permalink
    Implicit information
    This member is added by an implicit conversion from SqlProfile to Ensuring[SqlProfile] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): SqlProfile

    Permalink
    Implicit information
    This member is added by an implicit conversion from SqlProfile to Ensuring[SqlProfile] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from SqlProfile to StringFormat[SqlProfile] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  23. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def likeEncode(s: String): String

    Permalink
    Definition Classes
    SqlUtilsComponent
  27. def loadProfileConfig: Config

    Permalink

    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
  28. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  31. final lazy val profileConfig: Config

    Permalink

    The configuration for this profile, loaded via loadProfileConfig.

    The configuration for this profile, loaded via loadProfileConfig.

    Attributes
    protected[this]
    Definition Classes
    BasicProfile
  32. def quoteIdentifier(id: String): String

    Permalink

    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
  33. def quoteTableName(t: TableNode): String

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

    Permalink
    Definition Classes
    AnyRef
  35. def toString(): String

    Permalink
    Definition Classes
    BasicProfile → AnyRef → Any
  36. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. def [B](y: B): (SqlProfile, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from SqlProfile to ArrowAssoc[SqlProfile] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. val profile: SqlProfile

    Permalink

    The external interface of this profile which defines the API.

    The external interface of this profile which defines the API.

    Definition Classes
    SqlProfileRelationalProfileBasicProfile
    Annotations
    @deprecated
    Deprecated

    (Since version 3.2) Use the Profile object directly instead of calling .profile on it

Inherited from SqlUtilsComponent

Inherited from SqlActionComponent

Inherited from SqlTableComponent

Inherited from RelationalProfile

Inherited from RelationalActionComponent

Inherited from RelationalTypesComponent

Inherited from RelationalTableComponent

Inherited from BasicProfile

Inherited from BasicActionComponent

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from SqlProfile to any2stringadd[SqlProfile]

Inherited by implicit conversion StringFormat from SqlProfile to StringFormat[SqlProfile]

Inherited by implicit conversion Ensuring from SqlProfile to Ensuring[SqlProfile]

Inherited by implicit conversion ArrowAssoc from SqlProfile to ArrowAssoc[SqlProfile]

Ungrouped