Versions in this module Expand all Collapse all v0 v0.0.2 Jun 14, 2026 Changes in this version type DbFile + func (db *DbFile) UserVersion() int v0.0.1 Jun 14, 2026 Changes in this version + const BTreeInteriorIndexKind + const BTreeInteriorTableKind + const BTreeLeafIndexKind + const BTreeLeafTableKind + type Column struct + func (col *Column) Name() string + func (col *Column) Type() reflect.Type + type DbFile struct + func Open(fname string) (*DbFile, error) + func OpenFrom(f io.ReadSeeker) (*DbFile, error) + func (db *DbFile) Close() error + func (db *DbFile) Dumpdb() error + func (db *DbFile) Encoding() int + func (db *DbFile) NumPage() int + func (db *DbFile) PageSize() int + func (db *DbFile) Tables() []Table + func (db *DbFile) Version() int + func (db *DbFile) VisitTableRecords(tableName string, f func(*int64, Record) error) error + type PageKind byte + func (pk PageKind) String() string + type Record struct + Body []byte + Header RecordHeader + Values []interface{} + type RecordHeader struct + Len int + Types []SerialType + type SerialType int + const StBlob + const StC0 + const StC1 + const StFloat + const StInt16 + const StInt24 + const StInt32 + const StInt48 + const StInt64 + const StInt8 + const StNull + const StText + func (st SerialType) IsBlob() bool + func (st SerialType) IsText() bool + func (st SerialType) NBytes() int + func (st SerialType) String() string + type Table struct + func (t *Table) Columns() []Column + func (t *Table) Name() string + func (t *Table) NumRow() int64