Guide
The forthcoming v3 helix-db crate provides the query DSL, request types, async
HTTP client, native graph helpers, and a feature-gated embedded client.
The v3 SDK packages have not been published yet. The package names and installation
commands on this page describe the upcoming v3 release.
Install
Cargo.toml
Define a query
#[query] converts typed arguments into request parameters and sets query_name to
the function name.
Execute
.with_api_key(Some("hx_...")) for Helix Cloud. Request-builder options can
require the writer, require a warm read, or control durability waiting.
Build without the macro
Embedded runtime
Enable theembedded feature:
Verify
Rust SDK documentation examples are doctests:Next steps
Query tutorial
Learn the batch and traversal model.
Reading data
Select data by ID, label, or indexed property.