Documentation ¶
Index ¶
- type Model
- func (v *Model) Addrs() []any
- func (Model) Columns() []string
- func (v Model) FindOneByPKStmt() (string, []any)
- func (v Model) GetID() sequel.ColumnValuer[int]
- func (Model) HasPK()
- func (Model) IsAutoIncr()
- func (v Model) PK() (string, int, any)
- func (v *Model) ScanAutoIncr(val int64) error
- func (Model) TableName() string
- func (v Model) Values() []any
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) FindOneByPKStmt ¶
func (Model) IsAutoIncr ¶
func (Model) IsAutoIncr()
func (*Model) ScanAutoIncr ¶
Click to show internal directories.
Click to hide internal directories.