Documentation ¶
Index ¶
- func Open(dsn string) (driver.Conn, error)
- type Connection
- type Driver
- type Rows
- type Statement
- func (st *Statement) Close() error
- func (st *Statement) Exec([]driver.Value) (driver.Result, error)
- func (st *Statement) ExecContext(context.Context, []driver.NamedValue) (driver.Result, error)
- func (st Statement) NumInput() int
- func (st *Statement) Query([]driver.Value) (driver.Rows, error)
- func (st *Statement) QueryContext(ctx context.Context, v []driver.NamedValue) (driver.Rows, error)
- type Tx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Connection ¶
type Connection struct {
File string
}
Connection is a single sqlite file It implements the driver.Conn and driver.Tx interfaces
func (*Connection) Close ¶
func (c *Connection) Close() error
type Driver ¶
type Driver struct{}
Driver is the sqlittle database driver. It implements the driver.Driver interface
type Rows ¶
type Rows struct {
// contains filtered or unexported fields
}
Rows is the result set. It implements the driver.Rows interface.
type Statement ¶
type Statement struct { SQL string // contains filtered or unexported fields }
Statement is a single statement, belonging to a particular Connection. It implements the driver.Stmt, driver.StmtExecContext, and driver.StmtQueryContext interfaces.
func (*Statement) ExecContext ¶
ExecContext is not relevant and always returns an error
func (*Statement) QueryContext ¶
Click to show internal directories.
Click to hide internal directories.