For the complete documentation index optimized for AI agents, see llms.txt.Queries for HelixDB can be authored directly in Go with the
github.com/helixdb/helix-db/sdks/go module. The Go SDK is dynamic-first: write
ordinary Go functions that return helix.Request, declare parameters inline, and
execute with client.Exec(ctx, request, &out). There is no bundle-generation step
in the primary Go workflow.
For the traversal model and query patterns themselves, see
Querying and the Querying Guide.
Prerequisites
- Go 1.22 or later.
- Optional: the Helix CLI for local development and ad-hoc query testing.
Create a project
Add the dependency
helix:
Write query functions
Go queries are normal functions. Usehelix.ReadQuery("name") or
helix.WriteQuery("name") to set the dynamic request’s query_name, then declare
runtime parameters inline with methods such as q.ParamString, q.ParamI64, and
q.ParamDateTime.
parameters and parameter_types into the
dynamic envelope.
Execute queries
"" or "http://localhost:6969" to NewClient.
Write queries
Next Steps
Querying
Dynamic query envelopes, client execution, and transactions.
Parameters & bundles
Parameter serialization across TypeScript, Rust, and Go.
Local Development
Run HelixDB locally while developing queries.
Go SDK source
Go module source and README.