Skip to main content

Module sql_hints

Module sql_hints 

Source
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§

OrderByClause
ORDER BY clause with optional type and native column information.
SqlProjectionHint
SQL projection hint for database-specific field projection optimization.

Enums§

OrderByFieldType
SQL sort type for ORDER BY cast generation.
OrderDirection
Sort direction