Versions in this module Expand all Collapse all v5 v5.0.1 Jul 28, 2026 Changes in this version + const DefaultMaxRows + func IsKnownOp(parseOp Op) bool + type DB struct + func Open(parseTransport Transport, parseOptions Options) (*DB, error) + func (parseDB *DB) Close(parseCtx context.Context) error + func (parseDB *DB) Exec(parseCtx context.Context, parseSQL string, parseArgs ...any) (Result, error) + func (parseDB *DB) Flush(parseCtx context.Context) error + func (parseDB *DB) Query(parseCtx context.Context, parseSQL string, parseArgs ...any) (Rows, error) + func (parseDB *DB) Tx(parseCtx context.Context, parseFn func(*Tx) error) (parseErr error) + type Op string + const OpBegin + const OpClose + const OpCommit + const OpExec + const OpFlush + const OpQuery + const OpRollback + type Options struct + MaxRows int + type RemoteError struct + Message string + Op Op + func (parseErr *RemoteError) Error() string + type Request struct + Args []Value + MaxRows int + Op Op + SQL string + TxID string + type Response struct + Columns []string + Err string + LastInsertID int64 + Rows [][]Value + RowsAffected int64 + Truncated bool + TxID string + type Result struct + LastInsertID int64 + RowsAffected int64 + type Rows struct + Columns []string + Truncated bool + Values [][]Value + func (parseRows Rows) Len() int + type Transport interface + Call func(parseCtx context.Context, parseRequest Request) (Response, error) + type Tx struct + func (parseTx *Tx) Exec(parseCtx context.Context, parseSQL string, parseArgs ...any) (Result, error) + func (parseTx *Tx) Query(parseCtx context.Context, parseSQL string, parseArgs ...any) (Rows, error) + type Value struct + Blob []byte + Float float64 + Int int64 + Kind ValueKind + Text string + func NewValue(parseGoValue any) (Value, error) + func NewValues(parseGoValues []any) ([]Value, error) + func (parseValue Value) Go() any + type ValueKind uint8 + const ValueBlob + const ValueFloat + const ValueInt + const ValueNull + const ValueText + func (parseKind ValueKind) String() string