Guide
The Go SDK builds the shared operation-tree AST and executes requests through a
typed HTTP client.
Version
v0.5.0 ships the server query builder and HTTP client. It does not
distribute the native bindings required by embedded execution or native graph
algorithms.The module path remains github.com/helixdb/helix-db/sdks/go; it does not add a
/v3 suffix because the module itself has not reached major version 2.Install
Define a query
Execute
helix.WriterOnly(), or
helix.AwaitDurability(false) to return once the write is applied on the writer, so a
crash before its WAL upload loses it. The client does not retry conflicts automatically.
Release scope
Usev0.5.0 with a local or remote Helix server through /v2/query. Its native
bindings are not published, so NewEmbeddedClient and NewEmbeddedReaderClient
return ErrNativeBindingsUnavailable, and Client.Graph returns
ErrNativeGraphUnavailable. See
Embedded database.
Verify
With a local instance running, run the Execute example and printresponse.Users. A new database returns an empty slice.
Next steps
Parameters
Bind typed values and bounds.
Troubleshooting
Diagnose validation, conflict, and runtime failures.