Documentation ¶
Index ¶
- Constants
- type Dirs
- type DuckDB
- func (d *DuckDB) Destroy() error
- func (d *DuckDB) Query(query string) (string, error)
- func (d *DuckDB) QueryFrames(name string, query string, frames []*sdk.Frame) (string, bool, error)
- func (d *DuckDB) QueryFramesToFrames(name string, query string, frames []*sdk.Frame) (*sdk.Frame, error)
- func (d *DuckDB) RunCommands(commands []string) (string, error)
- type FrameData
- type Opts
Constants ¶
View Source
const ( TABLE_NAME = "table_name" ERROR = ".error" ERROR_MESSAGE = ".error_message" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DuckDB ¶
type DuckDB struct { Name string // contains filtered or unexported fields }
func NewInMemoryDB ¶
NewInMemoryDB creates a new in-memory DuckDB
func (*DuckDB) Query ¶
Query runs a query against the database. For Databases that are NOT in-memory.
func (*DuckDB) QueryFrames ¶
QueryFrame will load a dataframe into a view named RefID, and run the query against that view
func (*DuckDB) QueryFramesToFrames ¶ added in v0.5.0
Click to show internal directories.
Click to hide internal directories.