pointer

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: 4 Imported by: 0

Documentation

Index

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) Addrs

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

func (Ptr) Columns

func (Ptr) Columns() []string

func (Ptr) FindOneByPKStmt

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

func (Ptr) GetBool

func (v Ptr) GetBool() sequel.ColumnValuer[*bool]

func (Ptr) GetBytes

func (v Ptr) GetBytes() sequel.ColumnValuer[*[]byte]

func (Ptr) GetEmbeddedTime

func (v Ptr) GetEmbeddedTime() sequel.ColumnValuer[*time.Time]

func (Ptr) GetF32

func (v Ptr) GetF32() sequel.ColumnValuer[*float32]

func (Ptr) GetF64

func (v Ptr) GetF64() sequel.ColumnValuer[*float64]

func (Ptr) GetID

func (v Ptr) GetID() sequel.ColumnValuer[int64]

func (Ptr) GetInt

func (v Ptr) GetInt() sequel.ColumnValuer[*int]

func (Ptr) GetInt16

func (v Ptr) GetInt16() sequel.ColumnValuer[*int16]

func (Ptr) GetInt32

func (v Ptr) GetInt32() sequel.ColumnValuer[*int32]

func (Ptr) GetInt64

func (v Ptr) GetInt64() sequel.ColumnValuer[*int64]

func (Ptr) GetInt8

func (v Ptr) GetInt8() sequel.ColumnValuer[*int8]

func (Ptr) GetNested

func (v Ptr) GetNested() sequel.ColumnValuer[*nested]

func (Ptr) GetStr

func (v Ptr) GetStr() sequel.ColumnValuer[*string]

func (Ptr) GetTime

func (v Ptr) GetTime() sequel.ColumnValuer[*time.Time]

func (Ptr) GetUint

func (v Ptr) GetUint() sequel.ColumnValuer[*uint]

func (Ptr) GetUint16

func (v Ptr) GetUint16() sequel.ColumnValuer[*uint16]

func (Ptr) GetUint32

func (v Ptr) GetUint32() sequel.ColumnValuer[*uint32]

func (Ptr) GetUint64

func (v Ptr) GetUint64() sequel.ColumnValuer[*uint64]

func (Ptr) GetUint8

func (v Ptr) GetUint8() sequel.ColumnValuer[*uint8]

func (Ptr) HasPK

func (Ptr) HasPK()

func (Ptr) InsertOneStmt

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

func (Ptr) InsertPlaceholders

func (Ptr) InsertPlaceholders(row int) string

func (Ptr) IsAutoIncr

func (Ptr) IsAutoIncr()

func (Ptr) PK

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

func (*Ptr) ScanAutoIncr

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

func (Ptr) TableName

func (Ptr) TableName() string

func (Ptr) UpdateOneByPKStmt

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

func (Ptr) Values

func (v Ptr) Values() []any

Jump to

Keyboard shortcuts

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