composite

package
v0.0.0-...-28cb9ee Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Composite

type Composite struct {
	Flag bool
	Col1 string `sql:",pk"`
	Col2 bool
	Col3 uuid.UUID `sql:",pk"`
}

func (*Composite) Addrs

func (v *Composite) Addrs() []any

func (Composite) Columns

func (Composite) Columns() []string

func (Composite) CompositeKey

func (v Composite) CompositeKey() ([]string, []int, []any)

func (Composite) FindOneByPKStmt

func (v Composite) FindOneByPKStmt() (string, []any)

func (Composite) GetCol1

func (v Composite) GetCol1() sequel.ColumnValuer[string]

func (Composite) GetCol2

func (v Composite) GetCol2() sequel.ColumnValuer[bool]

func (Composite) GetCol3

func (v Composite) GetCol3() sequel.ColumnValuer[uuid.UUID]

func (Composite) GetFlag

func (v Composite) GetFlag() sequel.ColumnValuer[bool]

func (Composite) HasPK

func (Composite) HasPK()

func (Composite) InsertOneStmt

func (v Composite) InsertOneStmt() (string, []any)

func (Composite) InsertPlaceholders

func (Composite) InsertPlaceholders(row int) string

func (Composite) TableName

func (Composite) TableName() string

func (Composite) UpdateOneByPKStmt

func (v Composite) UpdateOneByPKStmt() (string, []any)

func (Composite) Values

func (v Composite) Values() []any

Jump to

Keyboard shortcuts

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