Docs.rs
  • prql-compiler-0.8.1
    • prql-compiler 0.8.1
    • Permalink
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Repository
    • Crates.io
    • Source
    • Owners
    • max-sixty
    • Dependencies
      • anyhow ^1.0.57 normal
      • ariadne ^0.2.0 normal
      • csv ^1.2.0 normal
      • enum-as-inner ^0.5.0 normal
      • itertools ^0.10.3 normal
      • lazy_static ^1.4.0 normal
      • log ^0.4.17 normal
      • once_cell ^1.17.0 normal
      • regex ^1.8.1 normal
      • semver ^1.0.14 normal
      • serde ^1.0.137 normal
      • serde_json ^1.0.81 normal
      • serde_yaml ^0.9 normal
      • sqlformat ^0.2.0 normal
      • sqlparser ^0.33.0 normal
      • strum ^0.24.0 normal
      • strum_macros ^0.24.0 normal
      • cfg-if ^1.0 dev
      • insta ^1.29 dev
      • duckdb ^0.7.0 dev
      • chumsky ^0.9.2 normal
      • chrono ^0.4 dev
      • criterion ^0.4.0 dev
      • csv ^1.2 dev
      • mysql ^23 dev
      • pg_bigdecimal ^0.1 dev
      • postgres ^0.19 dev
      • pretty_assertions ^1.3.0 dev
      • rusqlite ^0.29.0 dev
      • tiberius ^0.12 dev
      • tokio ^1 dev
      • tokio-util ^0.7 dev
      • chumsky ^0.9.2 normal
    • Versions
    • 46.72% of the crate is documented
  • Platform
    • x86_64-unknown-linux-gnu
    • i686-unknown-linux-gnu
  • Feature flags
  • Rust
    • About docs.rs
    • Privacy policy
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

Module rq

  • Structs
  • Enums
  • Traits
  • Functions
?
Change settings

Module prql_compiler::ast::rq

source ·
Expand description

Relational Query AST

Strictly typed AST for describing relational queries.

Structs

  • CId
    Column id
  • Compute
  • Expr
    Analogous to crate::ast::pl::Expr, but with less kinds.
  • Query
  • Relation
  • TId
    Table id
  • TableDecl
  • TableRef
  • Take
  • Window
    Transformation of a table.

Enums

  • ExprKind
  • RelationColumn
  • RelationKind
  • Transform
    Transformation of a table.
  • UnOp

Traits

  • RqFold

Functions

  • fold_expr_kind
  • fold_interpolate_item
  • fold_interpolate_items
  • fold_optional_box
    Helper
  • fold_query
  • fold_relation
  • fold_relation_kind
  • fold_switch_case
  • fold_table
  • fold_table_ref
  • fold_transform
  • fold_transforms