Versions in this module Expand all Collapse all v0 v0.1.0 Aug 6, 2026 Changes in this version + type Conn struct + func (c *Conn) Begin() (driver.Tx, error) + func (c *Conn) BeginTx(ctx context.Context, opts driver.TxOptions) (driver.Tx, error) + func (c *Conn) Close() error + func (c *Conn) ExecContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Result, error) + func (c *Conn) Ping(ctx context.Context) error + func (c *Conn) Prepare(query string) (driver.Stmt, error) + func (c *Conn) PrepareContext(ctx context.Context, query string) (driver.Stmt, error) + func (c *Conn) QueryContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Rows, error) + type Connector struct + func (c *Connector) Close() error + func (c *Connector) Connect(ctx context.Context) (driver.Conn, error) + func (c *Connector) Driver() driver.Driver + type Driver struct + func (d Driver) Open(dsn string) (driver.Conn, error) + func (d Driver) OpenConnector(dsn string) (driver.Connector, error) + type DuckDB struct + func NewDuckDB(dsn string) (*DuckDB, error) + func (d *DuckDB) Close() + func (d *DuckDB) Connect() (*duckdb.Connection, error) + type ErrDuckDB struct + Message string + func (e ErrDuckDB) Error() string + type Result struct + func (r *Result) LastInsertId() (int64, error) + func (r *Result) RowsAffected() (int64, error) + type Rows struct + func (r *Rows) Close() error + func (r *Rows) ColumnTypeDatabaseTypeName(index int) string + func (r *Rows) ColumnTypeNullable(index int) (nullable, ok bool) + func (r *Rows) ColumnTypePrecisionScale(index int) (precision, scale int64, ok bool) + func (r *Rows) ColumnTypeScanType(index int) reflect.Type + func (r *Rows) Columns() []string + func (r *Rows) Next(dest []driver.Value) error + type Stmt struct + func (s *Stmt) Close() error + func (s *Stmt) Exec(args []driver.Value) (driver.Result, error) + func (s *Stmt) ExecContext(ctx context.Context, args []driver.NamedValue) (driver.Result, error) + func (s *Stmt) NumInput() int + func (s *Stmt) Query(args []driver.Value) (driver.Rows, error) + func (s *Stmt) QueryContext(ctx context.Context, args []driver.NamedValue) (driver.Rows, error) + type Tx struct + func (tx *Tx) Commit() error + func (tx *Tx) Rollback() error