slick.relational

Contains the abstract RelationalProfile and related code.

Attributes

Members list

Type members

Classlikes

final case class CompiledMapping(converter: ResultConverter[_, _, _, _], buildType: Type) extends NullaryNode, SimplyTypedNode

A node that wraps a ResultConverter

A node that wraps a ResultConverter

Attributes

Source
ResultConverterCompiler.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait NullaryNode
trait Node
trait Dumpable
class Object
trait Matchable
class Any
Show all
final case class CompoundResultConverter[R, W, U, T](width: Int, childConverters: ResultConverter[R, W, U, T]*) extends ResultConverter[R, W, U, T]

Result converter that can write to multiple sub-converters and read from the first one

Result converter that can write to multiple sub-converters and read from the first one

Attributes

Source
ResultConverter.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait ResultConverter[R, W, U, T]
trait Dumpable
class Object
trait Matchable
class Any
Show all
final class GetOrElseResultConverter[R, W, U, T](child: ResultConverter[R, W, U, Option[T]], default: () => T) extends ResultConverter[R, W, U, T]

Attributes

Source
ResultConverter.scala
Supertypes
trait ResultConverter[R, W, U, T]
trait Dumpable
class Object
trait Matchable
class Any
final class IsDefinedResultConverter[R, W, U](child: ResultConverter[R, W, U, Option[_]]) extends ResultConverter[R, W, U, Boolean]

Attributes

Source
ResultConverter.scala
Supertypes
trait ResultConverter[R, W, U, Boolean]
trait Dumpable
class Object
trait Matchable
class Any
final case class OptionRebuildingResultConverter[R, W, U, T](discriminator: ResultConverter[R, W, U, Boolean], data: ResultConverter[R, W, U, T]) extends ResultConverter[R, W, U, Option[T]]

Attributes

Source
ResultConverter.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait ResultConverter[R, W, U, Option[T]]
trait Dumpable
class Object
trait Matchable
class Any
Show all
final case class ProductResultConverter[R, W, U, T <: Product](elementConverters: ResultConverter[R, W, U, _]*) extends ResultConverter[R, W, U, T]

An efficient (albeit boxed) ResultConverter for Product/Tuple values.

An efficient (albeit boxed) ResultConverter for Product/Tuple values.

Attributes

Source
ResultConverter.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait ResultConverter[R, W, U, T]
trait Dumpable
class Object
trait Matchable
class Any
Show all

Attributes

Source
RelationalProfile.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object MemoryProfile.type
trait SqlProfile
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

The required backend level for RelationalProfile.

The required backend level for RelationalProfile.

Attributes

Source
RelationalBackend.scala
Supertypes
trait BasicBackend
class Object
trait Matchable
class Any
Known subtypes
trait JdbcBackend
object JdbcBackend.type
object DistributedBackend.type
trait HeapBackend
object HeapBackend.type
Show all

Attributes

Source
RelationalCapabilities.scala
Supertypes
class Object
trait Matchable
class Any
Self type

A profile for relational databases that does not assume the existence of SQL (or any other text-based language for executing statements). It requires a relational table structure as its basic model of data.

A profile for relational databases that does not assume the existence of SQL (or any other text-based language for executing statements). It requires a relational table structure as its basic model of data.

Attributes

Companion
object
Source
RelationalProfile.scala
Supertypes
trait BasicProfile
class Object
trait Matchable
class Any
Show all
Known subtypes
object MemoryProfile.type
trait SqlProfile
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

Attributes

Companion
trait
Source
RelationalProfile.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
RelationalProfile.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object MemoryProfile.type
trait SqlProfile
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

Attributes

Source
RelationalProfile.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object MemoryProfile.type
trait SqlProfile
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

Attributes

Source
RelationalProfile.scala
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
object MemoryProfile.type
trait SqlProfile
Show all
Self type
trait ResultConverter[R, W, U, T] extends Dumpable

A ResultConverter is used to read data from a result, update a result, and set parameters of a query.

A ResultConverter is used to read data from a result, update a result, and set parameters of a query.

Attributes

Source
ResultConverter.scala
Supertypes
trait Dumpable
class Object
trait Matchable
class Any
Known subtypes
trait ResultConverterCompiler[R, W, U]

Create a ResultConverter for parameters and result sets. Subclasses have to provide profile-specific createColumnConverter implementations.

Create a ResultConverter for parameters and result sets. Subclasses have to provide profile-specific createColumnConverter implementations.

Attributes

Companion
object
Source
ResultConverterCompiler.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Source
ResultConverterCompiler.scala
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class SimpleFastPathResultConverter[R, W, U, T](val rc: TypeMappingResultConverter[R, W, U, T, _]) extends ResultConverter[R, W, U, T]

A ResultConverter that simplifies the implementation of fast path converters. It always wraps a TypeMappingResultConverter on top of a ProductResultConverter, allowing direct access to the product elements.

A ResultConverter that simplifies the implementation of fast path converters. It always wraps a TypeMappingResultConverter on top of a ProductResultConverter, allowing direct access to the product elements.

Attributes

Source
ResultConverter.scala
Supertypes
trait ResultConverter[R, W, U, T]
trait Dumpable
class Object
trait Matchable
class Any
final case class TypeMappingResultConverter[R, W, U, T, C](child: ResultConverter[R, W, U, C], toBase: T => C, toMapped: C => T) extends ResultConverter[R, W, U, T]

Attributes

Source
ResultConverter.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait ResultConverter[R, W, U, T]
trait Dumpable
class Object
trait Matchable
class Any
Show all
final class UnitResultConverter[R, W, U] extends ResultConverter[R, W, U, Unit]

Attributes

Source
ResultConverter.scala
Supertypes
trait ResultConverter[R, W, U, Unit]
trait Dumpable
class Object
trait Matchable
class Any