mdbxnav

package
v0.0.0-...-3ecd118 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadTables

func ReadTables(env *mdbx.Env) (map[string]*Table, error)

Types

type KVResult

type KVResult struct {
	K       string `json:"k"`
	CappedV string `json:"cappedV"`
	VLen    int    `json:"vLength"`
	DupIdx  int    `json:"dupIdx"`
}

type Table

type Table struct {
	Name string `json:"name"`

	// the fields below mirror mdbx.Stat struct
	PSize         uint   `json:"psize"`
	Depth         uint   `json:"depth"`
	BranchPages   uint64 `json:"branchPages"`
	LeafPages     uint64 `json:"leafPages"`
	OverflowPages uint64 `json:"overflowPages"`
	Entries       uint64 `json:"entries"`
}

type ValueResult

type ValueResult struct {
	V string `json:"v"`
}

Result type for get k -> v operations

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL