Strategy

skunk.util.Typer$.Strategy$
See theStrategy companion trait
object Strategy

Attributes

Companion
trait
Source
Typer.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Strategy.type

Members list

Type members

Classlikes

case object BuiltinsOnly extends Strategy

This strategy supports built-in Postgres types only, and does not need a database round-trip for initialization.

This strategy supports built-in Postgres types only, and does not need a database round-trip for initialization. This is the fastest strategy and is appropriate when you are not using any user-defined types (this includes enums).

Attributes

Source
Typer.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Strategy
class Object
trait Matchable
class Any
Show all
Self type
case object SearchPath extends Strategy

This strategy supports built-in Postgres types, as well as types that are defined in namespaces on the session search path.

This strategy supports built-in Postgres types, as well as types that are defined in namespaces on the session search path. This is the default strategy.

Attributes

Source
Typer.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Strategy
class Object
trait Matchable
class Any
Show all
Self type
SearchPath.type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Implicits

Implicits

implicit val OrderStrategy: Order[Strategy]

Attributes

Source
Typer.scala