exhaustive

package
v0.0.0-...-06e4aab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WrapErr     = func(err *Error) error { return err }
	Logger      func(format string, args ...any)
	ShouldRetry func(driver string, err error) bool
)
View Source
var SQLite3JournalMode = "WAL"

SQLite3JournalMode controls the journal_mode pragma for all new connections. Since it is read without a mutex, it must be changed to the value you want before any Open calls.

Functions

func DeleteAll

func DeleteAll(ctx context.Context, db *DB) (int64, error)

Types

type A

type A struct {
	Pk    int64
	Ctime time.Time
	Mtime time.Time
	Id    string
	Name  string
}

type AB

type AB struct {
	BPk int64
	APk int64
}

type AB_APk_Field

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

func AB_APk

func AB_APk(v int64) AB_APk_Field

type AB_BPk_Field

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

func AB_BPk

func AB_BPk(v int64) AB_BPk_Field

type AB_Update_Fields

type AB_Update_Fields struct {
}

type A_Ctime_Field

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

func A_Ctime

func A_Ctime(v time.Time) A_Ctime_Field

type A_Id_Field

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

func A_Id

func A_Id(v string) A_Id_Field

type A_Mtime_Field

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

func A_Mtime

func A_Mtime(v time.Time) A_Mtime_Field

type A_Name_Field

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

func A_Name

func A_Name(v string) A_Name_Field

type A_Pk_Field

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

func A_Pk

func A_Pk(v int64) A_Pk_Field

type A_Update_Fields

type A_Update_Fields struct {
}

type B

type B struct {
	Pk   int64
	Id   string
	Data string
}

type B_Data_Field

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

func B_Data

func B_Data(v string) B_Data_Field

type B_Id_Field

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

func B_Id

func B_Id(v string) B_Id_Field

type B_Pk_Field

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

func B_Pk

func B_Pk(v int64) B_Pk_Field

type B_Update_Fields

type B_Update_Fields struct {
	Data B_Data_Field
}

type Bool_Int_Row

type Bool_Int_Row struct {
	Bool bool
	Int  int
}

type C

type C struct {
	Pk  int64
	Id  string
	BPk int64
}

type C_BPk_Field

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

func C_BPk

func C_BPk(v int64) C_BPk_Field

type C_Id_Field

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

func C_Id

func C_Id(v string) C_Id_Field

type C_Pk_Field

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

func C_Pk

func C_Pk(v int64) C_Pk_Field

type C_Update_Fields

type C_Update_Fields struct {
}

type D

type D struct {
	Pk    int64
	Id    string
	Alias *string
	Date  time.Time
	EId   string
	AId   string
}

type DB

type DB struct {
	*sql.DB

	Hooks struct {
		Now func() time.Time
	}
	// contains filtered or unexported fields
}

func Open

func Open(driver, source string) (db *DB, err error)

func (*DB) Close

func (obj *DB) Close() (err error)

func (*DB) Open

func (obj *DB) Open(ctx context.Context) (*Tx, error)

type DBMethods

type DBMethods interface {
	Methods

	Schema() []string
	DropSchema() []string

	Rebind(sql string) string
}

type D_AId_Field

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

func D_AId

func D_AId(v string) D_AId_Field

type D_Alias_Field

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

func D_Alias

func D_Alias(v string) D_Alias_Field

func D_Alias_Null

func D_Alias_Null() D_Alias_Field

func D_Alias_Raw

func D_Alias_Raw(v *string) D_Alias_Field

type D_Create_Fields

type D_Create_Fields struct {
	Alias D_Alias_Field
}

type D_Date_Field

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

func D_Date

func D_Date(v time.Time) D_Date_Field

type D_EId_Field

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

func D_EId

func D_EId(v string) D_EId_Field

type D_Id_Field

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

func D_Id

func D_Id(v string) D_Id_Field

type D_Pk_Field

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

func D_Pk

func D_Pk(v int64) D_Pk_Field

type D_Update_Fields

type D_Update_Fields struct {
	Alias D_Alias_Field
}

type E

type E struct {
	Pk  int64
	Id  string
	AId string
}

type E_AId_Field

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

func E_AId

func E_AId(v string) E_AId_Field

type E_Id_Field

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

func E_Id

func E_Id(v string) E_Id_Field

type E_Pk_Field

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

func E_Pk

func E_Pk(v int64) E_Pk_Field

type E_Update_Fields

type E_Update_Fields struct {
}

type Error

type Error struct {
	Err         error
	Code        ErrorCode
	Driver      string
	Constraint  string
	QuerySuffix string
}

func (*Error) Error

func (e *Error) Error() string

func (*Error) Unwrap

func (e *Error) Unwrap() error

type ErrorCode

type ErrorCode int
const (
	ErrorCode_Unknown ErrorCode = iota
	ErrorCode_UnsupportedDriver
	ErrorCode_NoRows
	ErrorCode_TxDone
	ErrorCode_TooManyRows
	ErrorCode_ConstraintViolation
	ErrorCode_EmptyUpdate
)

type Foo

type Foo struct {
	Id             int64
	Int            int
	Int64          int64
	Uint           uint
	Uint64         uint64
	Float          float32
	Float64        float64
	String         string
	Blob           []byte
	Timestamp      time.Time
	Utimestamp     time.Time
	Bool           bool
	Date           time.Time
	Json           []byte
	NullInt        *int
	NullInt64      *int64
	NullUint       *uint
	NullUint64     *uint64
	NullFloat      *float32
	NullFloat64    *float64
	NullString     *string
	NullBlob       []byte
	NullTimestamp  *time.Time
	NullUtimestamp *time.Time
	NullBool       *bool
	NullDate       *time.Time
	NullJson       []byte
}

type Foo_Blob_Field

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

func Foo_Blob

func Foo_Blob(v []byte) Foo_Blob_Field

type Foo_Bool_Field

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

func Foo_Bool

func Foo_Bool(v bool) Foo_Bool_Field

type Foo_Create_Fields

type Foo_Create_Fields struct {
	NullInt        Foo_NullInt_Field
	NullInt64      Foo_NullInt64_Field
	NullUint       Foo_NullUint_Field
	NullUint64     Foo_NullUint64_Field
	NullFloat      Foo_NullFloat_Field
	NullFloat64    Foo_NullFloat64_Field
	NullString     Foo_NullString_Field
	NullBlob       Foo_NullBlob_Field
	NullTimestamp  Foo_NullTimestamp_Field
	NullUtimestamp Foo_NullUtimestamp_Field
	NullBool       Foo_NullBool_Field
	NullDate       Foo_NullDate_Field
	NullJson       Foo_NullJson_Field
}

type Foo_Date_Field

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

func Foo_Date

func Foo_Date(v time.Time) Foo_Date_Field

type Foo_Float64_Field

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

func Foo_Float64

func Foo_Float64(v float64) Foo_Float64_Field

type Foo_Float_Field

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

func Foo_Float

func Foo_Float(v float32) Foo_Float_Field

type Foo_Id_Field

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

func Foo_Id

func Foo_Id(v int64) Foo_Id_Field

type Foo_Int64_Field

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

func Foo_Int64

func Foo_Int64(v int64) Foo_Int64_Field

type Foo_Int_Field

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

func Foo_Int

func Foo_Int(v int) Foo_Int_Field

type Foo_Json_Field

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

func Foo_Json

func Foo_Json(v []byte) Foo_Json_Field

type Foo_NullBlob_Field

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

func Foo_NullBlob

func Foo_NullBlob(v []byte) Foo_NullBlob_Field

func Foo_NullBlob_Null

func Foo_NullBlob_Null() Foo_NullBlob_Field

func Foo_NullBlob_Raw

func Foo_NullBlob_Raw(v []byte) Foo_NullBlob_Field

type Foo_NullBool_Field

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

func Foo_NullBool

func Foo_NullBool(v bool) Foo_NullBool_Field

func Foo_NullBool_Null

func Foo_NullBool_Null() Foo_NullBool_Field

func Foo_NullBool_Raw

func Foo_NullBool_Raw(v *bool) Foo_NullBool_Field

type Foo_NullDate_Field

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

func Foo_NullDate

func Foo_NullDate(v time.Time) Foo_NullDate_Field

func Foo_NullDate_Null

func Foo_NullDate_Null() Foo_NullDate_Field

func Foo_NullDate_Raw

func Foo_NullDate_Raw(v *time.Time) Foo_NullDate_Field

type Foo_NullFloat64_Field

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

func Foo_NullFloat64

func Foo_NullFloat64(v float64) Foo_NullFloat64_Field

func Foo_NullFloat64_Null

func Foo_NullFloat64_Null() Foo_NullFloat64_Field

func Foo_NullFloat64_Raw

func Foo_NullFloat64_Raw(v *float64) Foo_NullFloat64_Field

type Foo_NullFloat_Field

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

func Foo_NullFloat

func Foo_NullFloat(v float32) Foo_NullFloat_Field

func Foo_NullFloat_Null

func Foo_NullFloat_Null() Foo_NullFloat_Field

func Foo_NullFloat_Raw

func Foo_NullFloat_Raw(v *float32) Foo_NullFloat_Field

type Foo_NullInt64_Field

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

func Foo_NullInt64

func Foo_NullInt64(v int64) Foo_NullInt64_Field

func Foo_NullInt64_Null

func Foo_NullInt64_Null() Foo_NullInt64_Field

func Foo_NullInt64_Raw

func Foo_NullInt64_Raw(v *int64) Foo_NullInt64_Field

type Foo_NullInt_Field

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

func Foo_NullInt

func Foo_NullInt(v int) Foo_NullInt_Field

func Foo_NullInt_Null

func Foo_NullInt_Null() Foo_NullInt_Field

func Foo_NullInt_Raw

func Foo_NullInt_Raw(v *int) Foo_NullInt_Field

type Foo_NullJson_Field

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

func Foo_NullJson

func Foo_NullJson(v []byte) Foo_NullJson_Field

func Foo_NullJson_Null

func Foo_NullJson_Null() Foo_NullJson_Field

func Foo_NullJson_Raw

func Foo_NullJson_Raw(v []byte) Foo_NullJson_Field

type Foo_NullString_Field

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

func Foo_NullString

func Foo_NullString(v string) Foo_NullString_Field

func Foo_NullString_Null

func Foo_NullString_Null() Foo_NullString_Field

func Foo_NullString_Raw

func Foo_NullString_Raw(v *string) Foo_NullString_Field

type Foo_NullTimestamp_Field

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

func Foo_NullTimestamp

func Foo_NullTimestamp(v time.Time) Foo_NullTimestamp_Field

func Foo_NullTimestamp_Null

func Foo_NullTimestamp_Null() Foo_NullTimestamp_Field

func Foo_NullTimestamp_Raw

func Foo_NullTimestamp_Raw(v *time.Time) Foo_NullTimestamp_Field

type Foo_NullUint64_Field

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

func Foo_NullUint64

func Foo_NullUint64(v uint64) Foo_NullUint64_Field

func Foo_NullUint64_Null

func Foo_NullUint64_Null() Foo_NullUint64_Field

func Foo_NullUint64_Raw

func Foo_NullUint64_Raw(v *uint64) Foo_NullUint64_Field

type Foo_NullUint_Field

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

func Foo_NullUint

func Foo_NullUint(v uint) Foo_NullUint_Field

func Foo_NullUint_Null

func Foo_NullUint_Null() Foo_NullUint_Field

func Foo_NullUint_Raw

func Foo_NullUint_Raw(v *uint) Foo_NullUint_Field

type Foo_NullUtimestamp_Field

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

func Foo_NullUtimestamp

func Foo_NullUtimestamp(v time.Time) Foo_NullUtimestamp_Field

func Foo_NullUtimestamp_Null

func Foo_NullUtimestamp_Null() Foo_NullUtimestamp_Field

func Foo_NullUtimestamp_Raw

func Foo_NullUtimestamp_Raw(v *time.Time) Foo_NullUtimestamp_Field

type Foo_String_Field

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

func Foo_String

func Foo_String(v string) Foo_String_Field

type Foo_Timestamp_Field

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

func Foo_Timestamp

func Foo_Timestamp(v time.Time) Foo_Timestamp_Field

type Foo_Uint64_Field

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

func Foo_Uint64

func Foo_Uint64(v uint64) Foo_Uint64_Field

type Foo_Uint_Field

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

func Foo_Uint

func Foo_Uint(v uint) Foo_Uint_Field

type Foo_Utimestamp_Field

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

func Foo_Utimestamp

func Foo_Utimestamp(v time.Time) Foo_Utimestamp_Field

type Methods

type Methods interface {
	All_B(ctx context.Context) (
		rows []*B, err error)

	All_B_By_Data(ctx context.Context,
		b_data B_Data_Field) (
		rows []*B, err error)

	All_Foo(ctx context.Context) (
		rows []*Foo, err error)

	All_Foo_Bool_Foo_Int(ctx context.Context) (
		rows []*Bool_Int_Row, err error)

	Count_Foo(ctx context.Context) (
		count int64, err error)

	Count_Foo_By_Id(ctx context.Context,
		foo_id Foo_Id_Field) (
		count int64, err error)

	CreateNoReturn_Foo(ctx context.Context,
		foo_int Foo_Int_Field,
		foo_int64 Foo_Int64_Field,
		foo_uint Foo_Uint_Field,
		foo_uint64 Foo_Uint64_Field,
		foo_float Foo_Float_Field,
		foo_float64 Foo_Float64_Field,
		foo_string Foo_String_Field,
		foo_blob Foo_Blob_Field,
		foo_bool Foo_Bool_Field,
		foo_date Foo_Date_Field,
		foo_json Foo_Json_Field,
		optional Foo_Create_Fields) (
		err error)

	Create_A(ctx context.Context,
		a_id A_Id_Field,
		a_name A_Name_Field) (
		a *A, err error)

	Create_AB(ctx context.Context,
		a_b_b_pk AB_BPk_Field,
		a_b_a_pk AB_APk_Field) (
		a_b *AB, err error)

	Create_B(ctx context.Context,
		b_id B_Id_Field,
		b_data B_Data_Field) (
		b *B, err error)

	Create_C(ctx context.Context,
		c_id C_Id_Field,
		c_b_pk C_BPk_Field) (
		c *C, err error)

	Create_D(ctx context.Context,
		d_id D_Id_Field,
		d_e_id D_EId_Field,
		d_a_id D_AId_Field,
		optional D_Create_Fields) (
		d *D, err error)

	Create_E(ctx context.Context,
		e_id E_Id_Field,
		e_a_id E_AId_Field) (
		e *E, err error)

	Create_Foo(ctx context.Context,
		foo_int Foo_Int_Field,
		foo_int64 Foo_Int64_Field,
		foo_uint Foo_Uint_Field,
		foo_uint64 Foo_Uint64_Field,
		foo_float Foo_Float_Field,
		foo_float64 Foo_Float64_Field,
		foo_string Foo_String_Field,
		foo_blob Foo_Blob_Field,
		foo_bool Foo_Bool_Field,
		foo_date Foo_Date_Field,
		foo_json Foo_Json_Field,
		optional Foo_Create_Fields) (
		foo *Foo, err error)

	Delete_A_By_A_Id_And_B_Id(ctx context.Context,
		a_id A_Id_Field,
		b_id B_Id_Field) (
		deleted bool, err error)

	Delete_D_By_Id_And_AId(ctx context.Context,
		d_id D_Id_Field,
		d_a_id D_AId_Field) (
		deleted bool, err error)

	Delete_E(ctx context.Context) (
		count int64, err error)

	Delete_E_By_Id_And_AId(ctx context.Context,
		e_id E_Id_Field,
		e_a_id E_AId_Field) (
		deleted bool, err error)

	Delete_Foo(ctx context.Context) (
		count int64, err error)

	Find_Foo_By_Bool_Equal_True(ctx context.Context) (
		foo *Foo, err error)

	Find_Foo_By_Id(ctx context.Context,
		foo_id Foo_Id_Field) (
		foo *Foo, err error)

	Find_Foo_By_Int_Equal_Number(ctx context.Context) (
		foo *Foo, err error)

	Find_Foo_By_Lower_String(ctx context.Context,
		foo_string Foo_String_Field) (
		foo *Foo, err error)

	Find_Foo_By_Lower_String_Equal_Lower(ctx context.Context,
		foo_string Foo_String_Field) (
		foo *Foo, err error)

	Find_Foo_By_NullBool_Equal_False(ctx context.Context) (
		foo *Foo, err error)

	Find_Foo_By_NullInt_Is_Null(ctx context.Context) (
		foo *Foo, err error)

	Find_Foo_By_String_Equal_Lower(ctx context.Context,
		foo_string Foo_String_Field) (
		foo *Foo, err error)

	Find_Foo_By_String_Equal_Lower_String(ctx context.Context) (
		foo *Foo, err error)

	Find_Foo_By_String_Equal_String(ctx context.Context) (
		foo *Foo, err error)

	Find_Foo_GroupBy_String(ctx context.Context) (
		foo *Foo, err error)

	Find_Foo_OrderBy_Asc_String(ctx context.Context) (
		foo *Foo, err error)

	First_Foo_By_Id(ctx context.Context,
		foo_id Foo_Id_Field) (
		foo *Foo, err error)

	First_Foo_By_NullInt_And_Int_And_NullInt64_Not_And_NullUint_And_Uint_And_NullUint64_Not(ctx context.Context,
		foo_null_int Foo_NullInt_Field,
		foo_int Foo_Int_Field,
		foo_null_int64_not Foo_NullInt64_Field,
		foo_null_uint Foo_NullUint_Field,
		foo_uint Foo_Uint_Field,
		foo_null_uint64_not Foo_NullUint64_Field) (
		foo *Foo, err error)

	Get_A_By_A_Id_And_B_Id(ctx context.Context,
		a_id A_Id_Field,
		b_id B_Id_Field) (
		a *A, err error)

	Get_A_By_A_Name_And_B_Id(ctx context.Context,
		a_name A_Name_Field,
		b_id B_Id_Field) (
		a *A, err error)

	Get_A_By_Pk(ctx context.Context,
		a_pk A_Pk_Field) (
		a *A, err error)

	Get_B_By_Pk(ctx context.Context,
		b_pk B_Pk_Field) (
		b *B, err error)

	Get_C_By_Id(ctx context.Context,
		c_id C_Id_Field) (
		c *C, err error)

	Get_D_By_Alias_And_AId(ctx context.Context,
		d_alias D_Alias_Field,
		d_a_id D_AId_Field) (
		d *D, err error)

	Get_D_By_Id(ctx context.Context,
		d_id D_Id_Field) (
		d *D, err error)

	Get_D_By_Id_And_AId(ctx context.Context,
		d_id D_Id_Field,
		d_a_id D_AId_Field) (
		d *D, err error)

	Get_E_By_Id_And_AId(ctx context.Context,
		e_id E_Id_Field,
		e_a_id E_AId_Field) (
		e *E, err error)

	Get_Foo_By_Id(ctx context.Context,
		foo_id Foo_Id_Field) (
		foo *Foo, err error)

	Has_E_By_Id_And_AId(ctx context.Context,
		e_id E_Id_Field,
		e_a_id E_AId_Field) (
		has bool, err error)

	Has_Foo(ctx context.Context) (
		has bool, err error)

	Has_Foo_By_Id(ctx context.Context,
		foo_id Foo_Id_Field) (
		has bool, err error)

	Limited_Foo(ctx context.Context,
		limit int, offset int64) (
		rows []*Foo, err error)

	Paged_A_By_B_Id(ctx context.Context,
		b_id B_Id_Field,
		limit int, start *Paged_A_By_B_Id_Continuation) (
		rows []*A, next *Paged_A_By_B_Id_Continuation, err error)

	Paged_D_By_AId(ctx context.Context,
		d_a_id D_AId_Field,
		limit int, start *Paged_D_By_AId_Continuation) (
		rows []*D, next *Paged_D_By_AId_Continuation, err error)

	Paged_E_By_AId(ctx context.Context,
		e_a_id E_AId_Field,
		limit int, start *Paged_E_By_AId_Continuation) (
		rows []*E, next *Paged_E_By_AId_Continuation, err error)

	Paged_Foo(ctx context.Context,
		limit int, start *Paged_Foo_Continuation) (
		rows []*Foo, next *Paged_Foo_Continuation, err error)

	RawCreateNoReturn_Foo(ctx context.Context,
		raw_foo *Foo) (
		err error)

	RawCreate_D(ctx context.Context,
		raw_d *D) (
		d *D, err error)

	RawCreate_Foo(ctx context.Context,
		raw_foo *Foo) (
		foo *Foo, err error)

	UpdateNoReturn_B_By_Id(ctx context.Context,
		b_id B_Id_Field,
		update B_Update_Fields) (
		err error)

	UpdateNoReturn_Foo_By_Id(ctx context.Context,
		foo_id Foo_Id_Field,
		update Foo_Update_Fields) (
		err error)

	Update_A_By_A_Id_And_B_Id(ctx context.Context,
		a_id A_Id_Field,
		b_id B_Id_Field,
		update A_Update_Fields) (
		a *A, err error)

	Update_B_By_Id(ctx context.Context,
		b_id B_Id_Field,
		update B_Update_Fields) (
		b *B, err error)

	Update_D_By_Id_And_AId(ctx context.Context,
		d_id D_Id_Field,
		d_a_id D_AId_Field,
		update D_Update_Fields) (
		d *D, err error)

	Update_Foo_By_Id(ctx context.Context,
		foo_id Foo_Id_Field,
		update Foo_Update_Fields) (
		foo *Foo, err error)

	Update_Foo_By_NullInt_And_Int_And_NullInt64_Not_And_NullUint_And_Uint_And_NullUint64_Not_And_Id(ctx context.Context,
		foo_null_int Foo_NullInt_Field,
		foo_int Foo_Int_Field,
		foo_null_int64_not Foo_NullInt64_Field,
		foo_null_uint Foo_NullUint_Field,
		foo_uint Foo_Uint_Field,
		foo_null_uint64_not Foo_NullUint64_Field,
		foo_id Foo_Id_Field,
		update Foo_Update_Fields) (
		foo *Foo, err error)
}

type Paged_A_By_B_Id_Continuation

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

type Paged_D_By_AId_Continuation

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

type Paged_E_By_AId_Continuation

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

type Paged_Foo_Continuation

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

type Tx

type Tx struct {
	Tx *sql.Tx
	// contains filtered or unexported fields
}

func (*Tx) ExecContext

func (tx *Tx) ExecContext(ctx context.Context, query string, args ...any) (sql.Result, error)

func (*Tx) QueryContext

func (tx *Tx) QueryContext(ctx context.Context, query string, args ...any) (*sql.Rows, error)

func (*Tx) QueryRowContext

func (tx *Tx) QueryRowContext(ctx context.Context, query string, args ...any) *sql.Row

type TxMethods

type TxMethods interface {
	Methods

	Rebind(s string) string
	Commit() error
	Rollback() error
}

Jump to

Keyboard shortcuts

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