Packages

p

slick

basic

package basic

Contains the abstract BasicProfile, BasicBackend and related code.

Source
package.scala
Linear Supertypes
AnyRef, Any
Content Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. basic
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. 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 exec effect represents the original execution of action. Implementations can run effectful logic before/after exec (for example start/finish spans, timing, logging), but they cannot inspect or alter the H value itself.

    Synchronous actions that are combined with >>, DBIO.seq, zip, asTry and similar combinators are fused into one SynchronousDatabaseAction.Fused action, which is passed to around as one node. For db.stream, exec of 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 with fromCore of the slick.cats, slick.future or slick.zio Database. It replaces the default listener, which logs to the slick.basic.BasicBackend.action logger and, through ActionListener.timing, to the slick.basic.BasicBackend.timing logger. Use ActionListener.combine to install more than one.

  2. trait BasicAction[+R, +S <: NoStream, -E <: Effect] extends DatabaseAction[R, S, E]
  3. trait BasicActionComponent extends AnyRef
  4. 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 JdbcBackend extend this type and provide concrete types for Database and Session.

  5. final class BasicDatabaseConfig[P <: BasicProfile] extends slick.DatabaseConfig
  6. trait BasicProfile extends BasicActionComponent

    The basic functionality that has to be implemented by all profiles.

  7. trait BasicStreamingAction[+R, +T, -E <: Effect] extends BasicAction[R, Streaming[T], E]
  8. class Capability extends AnyRef

    Describes a feature that can be supported by a profile.

  9. trait DatabaseConfig extends AnyRef
  10. trait FixedBasicAction[+R, +S <: NoStream, -E <: Effect] extends BasicAction[R, S, E]
  11. trait FixedBasicStreamingAction[+R, +T, -E <: Effect] extends BasicStreamingAction[R, T, E] with FixedBasicAction[R, Streaming[T], E]

Value Members

  1. object ActionListener
  2. object Capability
  3. object ConcurrencyControl
  4. object DatabaseConfig extends DatabaseConfig

Inherited from AnyRef

Inherited from Any

Ungrouped