package basic
Contains the abstract BasicProfile, BasicBackend and related code.
- Source
- package.scala
- Alphabetic
- By Inheritance
- basic
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait ActionListener[F[_]] extends AnyRef
Listener hook for tracing and instrumentation around DBIO node execution.
Listener hook for tracing and instrumentation around DBIO node execution.
The
execeffect represents the original execution ofaction. Implementations can run effectful logic before/afterexec(for example start/finish spans, timing, logging), but they cannot inspect or alter theHvalue itself.Synchronous actions that are combined with
>>,DBIO.seq,zip,asTryand similar combinators are fused into oneSynchronousDatabaseAction.Fusedaction, which is passed toaroundas one node. Fordb.stream,execof the action that produces the rows covers opening the stream, not reading the rows.A listener is installed when the database is created with
dc.profile.backend.makeDatabase[F](dc, listener), whose result can be wrapped withfromCoreof theslick.cats,slick.futureorslick.zioDatabase. It replaces the default listener, which logs to theslick.basic.BasicBackend.actionlogger and, through ActionListener.timing, to theslick.basic.BasicBackend.timinglogger. Use ActionListener.combine to install more than one. - trait BasicAction[+R, +S <: NoStream, -E <: Effect] extends DatabaseAction[R, S, E]
- trait BasicActionComponent extends AnyRef
- trait BasicBackend extends AnyRef
Backend for the basic database and session handling features.
Backend for the basic database and session handling features. Concrete backends like
JdbcBackendextend this type and provide concrete types forDatabaseandSession. - final class BasicDatabaseConfig[P <: BasicProfile] extends slick.DatabaseConfig
- trait BasicProfile extends BasicActionComponent
The basic functionality that has to be implemented by all profiles.
- trait BasicStreamingAction[+R, +T, -E <: Effect] extends BasicAction[R, Streaming[T], E]
- class Capability extends AnyRef
Describes a feature that can be supported by a profile.
- trait DatabaseConfig extends AnyRef
- trait FixedBasicAction[+R, +S <: NoStream, -E <: Effect] extends BasicAction[R, S, E]
- trait FixedBasicStreamingAction[+R, +T, -E <: Effect] extends BasicStreamingAction[R, T, E] with FixedBasicAction[R, Streaming[T], E]
Value Members
- object ActionListener
- object Capability
- object ConcurrencyControl
- object DatabaseConfig extends DatabaseConfig

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...