schema

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type A

type A struct {
	ID        string
	Text      LongText
	CreatedAt t.Time
	// contains filtered or unexported fields
}

func (*A) Addrs

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

func (A) Columns

func (A) Columns() []string

func (A) GetCreatedAt

func (v A) GetCreatedAt() sequel.ColumnValuer[time.Time]

func (A) GetID

func (v A) GetID() sequel.ColumnValuer[string]

func (A) GetText

func (v A) GetText() sequel.ColumnValuer[LongText]

func (A) InsertOneStmt

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

func (A) InsertPlaceholders

func (A) InsertPlaceholders(row int) string

func (A) TableName

func (A) TableName() string

func (A) Values

func (v A) Values() []any

type B

type B struct {
	// go:staticcheck
	// n, p      schema.Name `sql:"Boy"`
	ID        string
	CreatedAt t.Time
}

func (*B) Addrs

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

func (B) Columns

func (B) Columns() []string

func (B) GetCreatedAt

func (v B) GetCreatedAt() sequel.ColumnValuer[time.Time]

func (B) GetID

func (v B) GetID() sequel.ColumnValuer[string]

func (B) InsertOneStmt

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

func (B) InsertPlaceholders

func (B) InsertPlaceholders(row int) string

func (B) TableName

func (B) TableName() string

func (B) Values

func (v B) Values() []any

type C

type C struct {
	ID int64 `sql:",pk"`
}

func (*C) Addrs

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

func (C) Columns

func (C) Columns() []string

func (C) FindOneByPKStmt

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

func (C) GetID

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

func (C) HasPK

func (C) HasPK()

func (C) InsertOneStmt

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

func (C) InsertPlaceholders

func (C) InsertPlaceholders(row int) string

func (C) PK

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

func (C) TableName

func (C) TableName() string

func (C) Values

func (v C) Values() []any

type D

type D struct {
	ID sql.NullString `sql:",pk"`
}

func (*D) Addrs

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

func (D) Columns

func (D) Columns() []string

func (D) FindOneByPKStmt

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

func (D) GetID

func (v D) GetID() sequel.ColumnValuer[sql.NullString]

func (D) HasPK

func (D) HasPK()

func (D) InsertOneStmt

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

func (D) InsertPlaceholders

func (D) InsertPlaceholders(row int) string

func (D) PK

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

func (D) TableName

func (D) TableName() string

func (D) Values

func (v D) Values() []any

type LongText

type LongText string

type Model

type Model struct {
	// contains filtered or unexported fields
}

Directories

Path Synopsis
Code generated .* DO NOT EDIT.
Code generated .* DO NOT EDIT.

Jump to

Keyboard shortcuts

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