khive_query/lib.rs
1//! Backend-agnostic GQL/SPARQL parsing and SQL compilation.
2
3pub mod ast;
4pub mod compilers;
5pub mod error;
6pub mod language;
7pub mod parsers;
8pub mod validate;
9
10pub use ast::{GqlQuery, QueryValue, ReturnItem, WhereExpr};
11pub use compilers::sql::{
12 compile, compile_with_mailbox, CompileOptions, CompiledQuery, QueryMailboxScope,
13 TruncationCheck,
14};
15pub use error::QueryError;
16pub use language::{parse, parse_auto, QueryLanguage};
17pub use validate::{validate, validate_pattern_shape, validate_with_warnings, MAX_DEPTH};