Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotSelect = errors.New("only a single SELECT statement is allowed") // ErrQuery marks DuckDB prepare or execution failures caused by the caller's SQL. ErrQuery = errors.New("query failed") )
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
AllowedDir string
// DataDir, when set, builds the logs and spans views from its manifests; unscoped, AllowedDir must lie within <DataDir>/services.
DataDir string
// Service scopes the views to one service; AllowedDir must then equal that service's directory.
Service string
MemoryLimit string
Threads int
// Timeout bounds each query.
Timeout time.Duration
}
Click to show internal directories.
Click to hide internal directories.