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::{compile, CompileOptions, CompiledQuery};
12pub use error::QueryError;
13pub use language::{parse, parse_auto, QueryLanguage};
14pub use validate::{validate, validate_pattern_shape, validate_with_warnings, MAX_DEPTH};