imported

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: 5 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 {
	Str      sql.NullString
	Bool     sql.NullBool
	RawBytes sql.RawBytes
	Int16    sql.NullInt16
	Int32    sql.NullInt32
	Int64    sql.NullInt64
	Float64  sql.NullFloat64
	Time     sql.NullTime
}

func (*Model) Addrs

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

func (Model) Columns

func (Model) Columns() []string

func (Model) GetBool

func (v Model) GetBool() sequel.ColumnValuer[sql.NullBool]

func (Model) GetFloat64

func (v Model) GetFloat64() sequel.ColumnValuer[sql.NullFloat64]

func (Model) GetInt16

func (v Model) GetInt16() sequel.ColumnValuer[sql.NullInt16]

func (Model) GetInt32

func (v Model) GetInt32() sequel.ColumnValuer[sql.NullInt32]

func (Model) GetInt64

func (v Model) GetInt64() sequel.ColumnValuer[sql.NullInt64]

func (Model) GetRawBytes

func (v Model) GetRawBytes() sequel.ColumnValuer[sql.RawBytes]

func (Model) GetStr

func (v Model) GetStr() sequel.ColumnValuer[sql.NullString]

func (Model) GetTime

func (v Model) GetTime() sequel.ColumnValuer[sql.NullTime]

func (Model) InsertOneStmt

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

func (Model) InsertPlaceholders

func (Model) InsertPlaceholders(row int) string

func (Model) TableName

func (Model) TableName() string

func (Model) Values

func (v Model) Values() []any

type Some

type Some struct {
	ID uuid.UUID
}

func (*Some) Addrs

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

func (Some) Columns

func (Some) Columns() []string

func (Some) GetID

func (v Some) GetID() sequel.ColumnValuer[uuid.UUID]

func (Some) InsertOneStmt

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

func (Some) InsertPlaceholders

func (Some) InsertPlaceholders(row int) string

func (Some) TableName

func (Some) TableName() string

func (Some) Values

func (v Some) Values() []any

Jump to

Keyboard shortcuts

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