Expand description
Shared SQL types used across the compiler, schema, and database layers.
These types are defined here (rather than in compiler::aggregation or
schema) so that db/ can import them without creating a dependency on
the compilation or schema layers — a prerequisite for eventually extracting
db/ into its own crate (fraiseql-db).
Structs§
- Order
ByClause - ORDER BY clause with optional type and native column information.
- Relevance
Order - The full-text operand of an ORDER BY clause (#1284).
- SqlProjection
Hint - SQL projection hint for database-specific field projection optimization.
- Vector
Distance Order - The vector-distance operand of an ORDER BY clause (#386).
Enums§
- Order
Direction - Sort direction
- Scalar
Field Type - Declared scalar type of a JSON field, used to pick the SQL cast.
- Vector
Operand Kind - The operand type a vector-distance comparison is made in (#959).