A query builder for SurrealDB that generates DEFINE statements compatible with the SurrealDB Rust Library.
- Statement References: SurrealDB Doc
- Crate Documentation: SurrealDB Crate Doc
- Table Builder: Generates
DEFINE TABLE
statement. - Field Builder: Generates
DEFINE FIELD
statement. - Index Builder: Generates
DEFINE INDEX
statement. - Param Builder: Generates
DEFINE PARAM
statement. - Query Builder: Generates multiple statements.
- Function: Implement
DEFINE FUNCTION
statements. Documentation - Database: Implement
DEFINE DATABASE
statements. Documentation - Namespace: Implement
DEFINE NAMESPACE
statements. Documentation - Event: Implement
DEFINE EVENT
statements. Documentation - Analyzer: Implement
DEFINE ANALYZER
statements. Documentation - User: Implement
DEFINE USER
statements. Documentation - Token: Implement
DEFINE TOKEN
statements. Documentation - Relate: Implement
RELATE
statements. Documentation
... and Other Statements
To add the SurrealDB Query Builder to your project, run:
cargo add surrealqb
To build the project, use:
cargo build
To run tests, use:
cargo test -- --nocapture
- JP Mateo ([email protected])