DataSourceAspect

zio.query.DataSourceAspect
See theDataSourceAspect companion object

A DataSourceAspect is an aspect that can be weaved into queries. You can think of an aspect as a polymorphic function, capable of transforming one data source into another, possibly enlarging the environment type.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Abstract methods

def apply[R1 <: R, A](dataSource: DataSource[R1, A]): DataSource[R1, A]

Applies the aspect to a data source.

Applies the aspect to a data source.

Attributes

Concrete methods

final def >>>[R1 <: R](that: DataSourceAspect[R1]): DataSourceAspect[R1]

A symbolic alias for andThen.

A symbolic alias for andThen.

Attributes

final def andThen[R1 <: R](that: DataSourceAspect[R1]): DataSourceAspect[R1]

Returns a new aspect that represents the sequential composition of this aspect with the specified one.

Returns a new aspect that represents the sequential composition of this aspect with the specified one.

Attributes