queryengine

package
v0.0.0-...-31394bd Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: Unlicense Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PgEngine

type PgEngine struct {
	// contains filtered or unexported fields
}

func NewPgEngine

func NewPgEngine(db *bolt.DB) *PgEngine

func (*PgEngine) Delete

func (pe *PgEngine) Delete() error

func (*PgEngine) Execute

func (pe *PgEngine) Execute(tree *pgquery.ParseResult) error

func (*PgEngine) ExecuteCreate

func (pe *PgEngine) ExecuteCreate(stmt *pgquery.CreateStmt) error

func (*PgEngine) ExecuteInsert

func (pe *PgEngine) ExecuteInsert(stmt *pgquery.InsertStmt) error

func (*PgEngine) ExecuteSelect

func (pe *PgEngine) ExecuteSelect(stmt *pgquery.SelectStmt) (*PgResult, error)

type PgResult

type PgResult struct {
	FieldNames []string
	FieldTypes []string
	Rows       [][]any
}

Jump to

Keyboard shortcuts

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