modpostgres

package
v0.0.5-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleName      = "db"
	StateNameDBPool = "postgres/dbpool"
)

Variables

This section is empty.

Functions

func Constructor

func Constructor(loader modules.ModuleLoader) (modules.LocalizedModule, error)

Types

type Module

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

func (*Module) Destroy

func (module *Module) Destroy(loader modules.ModuleLoader) error

func (*Module) Exports

func (module *Module) Exports() starlark.StringDict

func (*Module) Name

func (module *Module) Name() string

type Row

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

func (*Row) Done

func (it *Row) Done()

func (*Row) Next

func (it *Row) Next(p *starlark.Value) bool

type Rows

type Rows struct {
	starlarkstruct.Struct
	// contains filtered or unexported fields
}

func (*Rows) Freeze

func (it *Rows) Freeze()

func (*Rows) Hash

func (it *Rows) Hash() (uint32, error)

func (*Rows) Iterate

func (it *Rows) Iterate() starlark.Iterator

func (*Rows) Truth

func (it *Rows) Truth() starlark.Bool

func (*Rows) Type

func (it *Rows) Type() string

Jump to

Keyboard shortcuts

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