int

package
v0.0.0-...-90567dc Latest Latest
Warning

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

Go to latest
Published: Dec 16, 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 Model

type Model struct {
	ID int `sql:",pk,auto_increment"`
}

func (*Model) Addrs

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

func (Model) Columns

func (Model) Columns() []string

func (Model) FindOneByPKStmt

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

func (Model) GetID

func (v Model) GetID() sequel.ColumnValuer[int]

func (Model) HasPK

func (Model) HasPK()

func (Model) IsAutoIncr

func (Model) IsAutoIncr()

func (Model) PK

func (v Model) PK() (string, int, any)

func (*Model) ScanAutoIncr

func (v *Model) ScanAutoIncr(val int64) error

func (Model) TableName

func (Model) TableName() string

func (Model) Values

func (v Model) Values() []any

Jump to

Keyboard shortcuts

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