DoobieMapping
Type members
Inherited classlikes
State required to assign table and column aliases.
State required to assign table and column aliases.
Used when rendering an SqlQuery
as a Fragment
. Table aliases are assigned
as needed for recursive queries. Column aliases are assigned to disambiguate
collections of columns generated by subqueries and unions.
- Inherited from:
- SqlMapping
Trait representing an owner of an `SqlColumn
Trait representing an owner of an `SqlColumn
ColumnOwners are tables, SQL queries and subqueries, common table expressions and the like. Most, but not all have a name (SqlSelect, SqlUnion and SqlJoin being unnamed examples)
- Inherited from:
- SqlMapping
Name of a SQL schema column and its associated codec, Scala type an defining
source position within an SqlMapping
.
Name of a SQL schema column and its associated codec, Scala type an defining
source position within an SqlMapping
.
Column
s are considered equal if their table and column names are equal.
Note that ColumnRef
primarily play a role in mappings. During compilation
they will be used to construct SqlColumns
.
- Inherited from:
- SqlMapping
Enumeration representing a kind of field mapping
Enumeration representing a kind of field mapping
- Inherited from:
- SqlMapping
A pair of ColumnRef
s, representing a SQL join.
A pair of ColumnRef
s, representing a SQL join.
- Inherited from:
- SqlMapping
Cursor positioned at a GraphQL result leaf
Cursor positioned at a GraphQL result leaf
- Inherited from:
- SqlMapping
Represents the mapping of a GraphQL query to an SQL query
Represents the mapping of a GraphQL query to an SQL query
- Inherited from:
- SqlMapping
Root mappings can perform a mutation prior to constructing the result Cursor
. A Mutation
may perform a Unit effect and simply return the passed arguments; or it may refine the passed
Query
and/or Env
that will be used to interpret the resulting Cursor
.
Root mappings can perform a mutation prior to constructing the result Cursor
. A Mutation
may perform a Unit effect and simply return the passed arguments; or it may refine the passed
Query
and/or Env
that will be used to interpret the resulting Cursor
.
- Inherited from:
- Mapping
- Inherited from:
- Mapping
- Inherited from:
- Mapping
Trait representing an SQL column
Trait representing an SQL column
- Inherited from:
- SqlMapping
Wraps an SqlColumn
as a Term
which can appear in a Predicate
Wraps an SqlColumn
as a Term
which can appear in a Predicate
- Inherited from:
- SqlMapping
Cursor positioned at a GraphQL result non-leaf
Cursor positioned at a GraphQL result non-leaf
- Inherited from:
- SqlMapping
Common super type for mappings which have a programmatic discriminator, ie. interface and union mappings.
Common super type for mappings which have a programmatic discriminator, ie. interface and union mappings.
- Inherited from:
- SqlMapping
Discriminator for the branches of an interface/union
Discriminator for the branches of an interface/union
- Inherited from:
- SqlMapping
- Inherited from:
- SqlMapping
- Inherited from:
- SqlMapping
Representation of a SQL query in a context
Representation of a SQL query in a context
- Inherited from:
- SqlMapping
Representation of an SQL query result
Representation of an SQL query result
- Inherited from:
- SqlMapping
Inherited types
Value members
Concrete methods
Inherited methods
Returns the aliased column corresponding to the atomic field fieldName
in context
Returns the aliased column corresponding to the atomic field fieldName
in context
- Inherited from:
- SqlMapping
Returns the aliased columns corresponding to term
in context
Returns the aliased columns corresponding to term
in context
- Inherited from:
- SqlMapping
Returns the columns for leaf field fieldName
in context
Returns the columns for leaf field fieldName
in context
- Inherited from:
- QueryExecutor
- Inherited from:
- Mapping
Returns the discriminator columns for the context type
Returns the discriminator columns for the context type
- Inherited from:
- SqlMapping
Returns the discriminator for the type at context
Returns the discriminator for the type at context
- Inherited from:
- SqlMapping
Returns the Encoder
for the given type
Returns the Encoder
for the given type
- Inherited from:
- SqlMapping
Returns the Encoder
for the given term in context
Returns the Encoder
for the given term in context
- Inherited from:
- SqlMapping
Return an indicator of the kind of field mapping corresponding to fieldName
in context
Return an indicator of the kind of field mapping corresponding to fieldName
in context
- Inherited from:
- SqlMapping
Is the context type mapped to an associative table?
Is the context type mapped to an associative table?
- Inherited from:
- SqlMapping
Does the supplied field correspond to a single, possibly structured, value?
Does the supplied field correspond to a single, possibly structured, value?
- Inherited from:
- SqlMapping
Is term
in context
expressible in SQL?
Is term
in context
expressible in SQL?
- Inherited from:
- SqlMapping
Returns the key columns for the context type
Returns the key columns for the context type
- Inherited from:
- SqlMapping
Does the type of fieldName
in context
represent a list of subobjects?
Does the type of fieldName
in context
represent a list of subobjects?
- Inherited from:
- SqlMapping
Returns the table for the type at context
Returns the table for the type at context
- Inherited from:
- SqlMapping