Documentation
¶
Overview ¶
Package studio provides AQL (Aha Query Language) - a JQL-like query layer for Aha.io.
Studio supports querying Ideas, Features, Releases, and Initiatives using SQL-like syntax.
Example usage:
client, _ := aha.NewClient()
studio := studio.New(client)
result, _ := studio.Query(ctx, "FROM features WHERE status = 'In Progress' LIMIT 10")
for _, record := range result.Records {
fmt.Println(record["name"])
}
Index ¶
Constants ¶
View Source
const Version = "0.1.0"
Version is the library version.
Variables ¶
This section is empty.
Functions ¶
func Parse ¶
Parse parses an AQL query and returns the AST. This is useful for query validation without execution.
Types ¶
type QueryOptions ¶
type QueryOptions struct {
// ProductID is required for releases queries.
ProductID string
// ReleaseID is required for release-scoped feature queries.
ReleaseID string
}
QueryOptions configures query execution.
type Studio ¶
type Studio struct {
// contains filtered or unexported fields
}
Studio provides the main interface for AQL queries.
func (*Studio) QueryWithOptions ¶
func (s *Studio) QueryWithOptions(ctx context.Context, aql string, opts QueryOptions) (*result.Result, error)
QueryWithOptions executes an AQL query with the given options.
Click to show internal directories.
Click to hide internal directories.