Versions in this module Expand all Collapse all v0 v0.18.1 Nov 22, 2023 Changes in this version + var ErrDatabaseNotFound = errors.New("d1: database not found") + func OpenConnector(ctx context.Context, name string) (driver.Connector, error) + type Conn struct + func (c *Conn) Begin() (driver.Tx, error) + func (c *Conn) BeginTx(context.Context, driver.TxOptions) (driver.Tx, error) + func (c *Conn) Close() error + func (c *Conn) Prepare(query string) (driver.Stmt, error) + func (c *Conn) PrepareContext(_ context.Context, query string) (driver.Stmt, error) + type Connector struct + func (c *Connector) Connect(context.Context) (driver.Conn, error) + func (c *Connector) Driver() driver.Driver + type Driver struct + func (d *Driver) Open(string) (driver.Conn, error)