sqlbinder

package
v0.0.0-...-31ad618 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Unlicense Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Binder

type Binder interface {
	BindField(*Selection, Field)
}

type Field

type Field int

type Rebinder

type Rebinder interface {
	Rebind(*Selection, Field)
}

type Selection

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

func BindFieldAddresses

func BindFieldAddresses(b Binder, fields ...Field) Selection

func (*Selection) Bind

func (sel *Selection) Bind(addr interface{}, name, join string)

func (Selection) Joins

func (sel Selection) Joins() (join string)

func (*Selection) Len

func (sel *Selection) Len() int

func (*Selection) ReBind

func (sel *Selection) ReBind(v Rebinder, fields ...Field)

func (*Selection) Rebind

func (sel *Selection) Rebind(v interface{})

func (Selection) Select

func (sel Selection) Select() (ret string)

func (Selection) Values

func (sel Selection) Values() []interface{}

Jump to

Keyboard shortcuts

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