Versions in this module Expand all Collapse all v2 v2.0.2 Jan 30, 2024 Changes in this version + const DriverVersion + 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) CheckNamedValue(arg *driver.NamedValue) error + func (c *Conn) Close() error + func (c *Conn) ExecContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Result, error) + func (c *Conn) Prepare(query string) (driver.Stmt, error) + func (c *Conn) PrepareContext(ctx context.Context, query string) (Stmt, error) + func (c *Conn) QueryContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Rows, error) + type Driver struct + func (*Driver) Open(name string) (driver.Conn, error) + 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) ColumnTypeLength(index int) (length int64, ok bool) + 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) CheckNamedValue(arg *driver.NamedValue) error + 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 (t *Tx) Commit() error + func (t *Tx) Rollback() error v2.0.1 Jan 25, 2024 Other modules containing this package github.com/MonetDB/MonetDB-Go