Documentation ¶
Index ¶
- type Ptr
- func (v *Ptr) Addrs() []any
- func (Ptr) Columns() []string
- func (v Ptr) FindOneByPKStmt() (string, []any)
- func (v Ptr) GetBool() sequel.ColumnValuer[*bool]
- func (v Ptr) GetBytes() sequel.ColumnValuer[*[]byte]
- func (v Ptr) GetEmbeddedTime() sequel.ColumnValuer[*time.Time]
- func (v Ptr) GetF32() sequel.ColumnValuer[*float32]
- func (v Ptr) GetF64() sequel.ColumnValuer[*float64]
- func (v Ptr) GetID() sequel.ColumnValuer[int64]
- func (v Ptr) GetInt() sequel.ColumnValuer[*int]
- func (v Ptr) GetInt16() sequel.ColumnValuer[*int16]
- func (v Ptr) GetInt32() sequel.ColumnValuer[*int32]
- func (v Ptr) GetInt64() sequel.ColumnValuer[*int64]
- func (v Ptr) GetInt8() sequel.ColumnValuer[*int8]
- func (v Ptr) GetNested() sequel.ColumnValuer[*nested]
- func (v Ptr) GetStr() sequel.ColumnValuer[*string]
- func (v Ptr) GetTime() sequel.ColumnValuer[*time.Time]
- func (v Ptr) GetUint() sequel.ColumnValuer[*uint]
- func (v Ptr) GetUint16() sequel.ColumnValuer[*uint16]
- func (v Ptr) GetUint32() sequel.ColumnValuer[*uint32]
- func (v Ptr) GetUint64() sequel.ColumnValuer[*uint64]
- func (v Ptr) GetUint8() sequel.ColumnValuer[*uint8]
- func (Ptr) HasPK()
- func (v Ptr) InsertOneStmt() (string, []any)
- func (Ptr) InsertPlaceholders(row int) string
- func (Ptr) IsAutoIncr()
- func (v Ptr) PK() (string, int, any)
- func (v *Ptr) ScanAutoIncr(val int64) error
- func (Ptr) TableName() string
- func (v Ptr) UpdateOneByPKStmt() (string, []any)
- func (v Ptr) Values() []any
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ptr ¶
type Ptr struct { ID int64 `sql:",pk,auto_increment"` Str *string Bytes *[]byte Bool *bool Int *int Int8 *int8 Int16 *int16 Int32 *int32 Int64 *int64 Uint *uint Uint8 *uint8 Uint16 *uint16 Uint32 *uint32 Uint64 *uint64 F32 *float32 F64 *float64 Time *time.Time `sql:",size:6"` Nested *nested // contains filtered or unexported fields }
func (Ptr) FindOneByPKStmt ¶
func (Ptr) GetEmbeddedTime ¶
func (v Ptr) GetEmbeddedTime() sequel.ColumnValuer[*time.Time]
func (Ptr) GetNested ¶
func (v Ptr) GetNested() sequel.ColumnValuer[*nested]
func (Ptr) InsertOneStmt ¶
func (Ptr) InsertPlaceholders ¶
func (Ptr) IsAutoIncr ¶
func (Ptr) IsAutoIncr()
func (*Ptr) ScanAutoIncr ¶
func (Ptr) UpdateOneByPKStmt ¶
Click to show internal directories.
Click to hide internal directories.