SkunkMapping
Type members
Classlikes
Inherited classlikes
Data structure managing DB table and column aliases.
Data structure managing DB table and column aliases.
Aliases are scoped by the result path, which is unique in the GraphQL output even in the presence of GraphQL field alises. Table aliases apply from the given output path and below.
Column aliases are synthesized whenever an SQL union has to be nested in a subquery and hence requires a uniform set of column names. These column aliases apply from the given path and above.
Tables are only aliased if they have already been seen in an depth-first in-order traversal of the output graph. This data structure also track the seen state for tables.
AliasedMappings also maintains the bookeeping information needed to supply arbitrary fresh names. Currently these are used to name identity/predicate joins.
- Inherited from
- SqlMapping
- Inherited from
- CirceMapping
Name of a SQL schema column and its associated codec. Note that ColumnRef
s are considered equal
if their table and column names are equal.
Name of a SQL schema column and its associated codec. Note that ColumnRef
s are considered equal
if their table and column names are equal.
- Inherited from
- SqlMapping
- Inherited from
- Mapping
- Inherited from
- Mapping
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
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. TODO: support SQL-native discriminators.
Common super type for mappings which have a programmatic discriminator, ie. interface and union mappings. TODO: support SQL-native discriminators.
- 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
- Inherited from
- SqlMapping
Representation of a table expression
Representation of a table expression
- Inherited from
- SqlMapping
Value members
Concrete methods
Inherited methods
- Inherited from
- QueryExecutor
- Inherited from
- Mapping
- Inherited from
- Mapping
- Inherited from
- Mapping