Installation¶
Library¶
Or in go.mod:
CLI¶
The binary is named surql; add $(go env GOPATH)/bin to your $PATH.
Build tags¶
Integration tests use the integration build tag and require a running SurrealDB:
Requirements¶
- Go 1.26 or newer.
- SurrealDB v3.0+ for the full feature set (CI runs against
surrealdb/surrealdb:v3.0.5). Interactive transactions (DatabaseClient.Begin) andGROUP ALLaggregations require v3. See v3 Patterns for the v3-specific surface.
What's next¶
- Quick Start -- your first schema and migration.
- Schema Definition -- the full schema DSL reference.
- CLI Reference -- the
surqlsubcommand surface.