enum

package
v0.0.0-...-dcc35fc Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Custom

type Custom struct {
	Str  longText `sql:"text"`
	Enum Enum     `sql:"e"`

	Status string `sql:"-"`
	Num    uint16
	// contains filtered or unexported fields
}

func (*Custom) Addrs

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

func (Custom) Columns

func (Custom) Columns() []string

func (Custom) GetEnum

func (v Custom) GetEnum() sequel.ColumnValuer[Enum]

func (Custom) GetNum

func (v Custom) GetNum() sequel.ColumnValuer[uint16]

func (Custom) GetStr

func (v Custom) GetStr() sequel.ColumnValuer[longText]

func (Custom) InsertOneStmt

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

func (Custom) InsertPlaceholders

func (Custom) InsertPlaceholders(row int) string

func (Custom) TableName

func (Custom) TableName() string

func (Custom) Values

func (v Custom) Values() []any

type Enum

type Enum int

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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