Documentation ¶
Index ¶
- Variables
- func DeleteAll(ctx context.Context, db *DB) (int64, error)
- type Bar
- type Bar_A_Field
- type Bar_B_Field
- type Bar_C_Field
- type Bar_Create_Fields
- type Bar_Pk_Field
- type Bar_Update_Fields
- type Baz
- type Baz_A_Field
- type Baz_B_Field
- type Baz_C_Field
- type Baz_Create_Fields
- type Baz_Pk_Field
- type Baz_Update_Fields
- type DB
- type DBMethods
- type Error
- type ErrorCode
- type Foo
- type Foo_A_Field
- type Foo_B_Field
- type Foo_C_Field
- type Foo_Create_Fields
- type Foo_D_Field
- type Foo_E_Field
- type Foo_F_Field
- type Foo_Pk_Field
- type Foo_Update_Fields
- type Methods
- type Tx
- type TxMethods
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 ¶
Types ¶
type Bar_A_Field ¶
type Bar_A_Field struct {
// contains filtered or unexported fields
}
func Bar_A ¶
func Bar_A(v int) Bar_A_Field
type Bar_B_Field ¶
type Bar_B_Field struct {
// contains filtered or unexported fields
}
func Bar_B ¶
func Bar_B(v int) Bar_B_Field
type Bar_C_Field ¶
type Bar_C_Field struct {
// contains filtered or unexported fields
}
func Bar_C ¶
func Bar_C(v int) Bar_C_Field
type Bar_Create_Fields ¶
type Bar_Create_Fields struct {
C Bar_C_Field
}
type Bar_Pk_Field ¶
type Bar_Pk_Field struct {
// contains filtered or unexported fields
}
func Bar_Pk ¶
func Bar_Pk(v int64) Bar_Pk_Field
type Bar_Update_Fields ¶
type Bar_Update_Fields struct { }
type Baz_A_Field ¶
type Baz_A_Field struct {
// contains filtered or unexported fields
}
func Baz_A ¶
func Baz_A(v int) Baz_A_Field
type Baz_B_Field ¶
type Baz_B_Field struct {
// contains filtered or unexported fields
}
func Baz_B ¶
func Baz_B(v int) Baz_B_Field
type Baz_C_Field ¶
type Baz_C_Field struct {
// contains filtered or unexported fields
}
func Baz_C ¶
func Baz_C(v int) Baz_C_Field
type Baz_Create_Fields ¶
type Baz_Create_Fields struct { A Baz_A_Field B Baz_B_Field C Baz_C_Field }
type Baz_Pk_Field ¶
type Baz_Pk_Field struct {
// contains filtered or unexported fields
}
func Baz_Pk ¶
func Baz_Pk(v int64) Baz_Pk_Field
type Baz_Update_Fields ¶
type Baz_Update_Fields struct { }
type DB ¶
type Foo_A_Field ¶
type Foo_A_Field struct {
// contains filtered or unexported fields
}
func Foo_A ¶
func Foo_A(v int) Foo_A_Field
type Foo_B_Field ¶
type Foo_B_Field struct {
// contains filtered or unexported fields
}
func Foo_B ¶
func Foo_B(v int) Foo_B_Field
type Foo_C_Field ¶
type Foo_C_Field struct {
// contains filtered or unexported fields
}
func Foo_C ¶
func Foo_C(v int) Foo_C_Field
type Foo_Create_Fields ¶
type Foo_Create_Fields struct { C Foo_C_Field D Foo_D_Field E Foo_E_Field F Foo_F_Field }
type Foo_D_Field ¶
type Foo_D_Field struct {
// contains filtered or unexported fields
}
func Foo_D ¶
func Foo_D(v int) Foo_D_Field
type Foo_E_Field ¶
type Foo_E_Field struct {
// contains filtered or unexported fields
}
func Foo_E ¶
func Foo_E(v string) Foo_E_Field
type Foo_F_Field ¶
type Foo_F_Field struct {
// contains filtered or unexported fields
}
func Foo_F ¶
func Foo_F(v time.Time) Foo_F_Field
type Foo_Pk_Field ¶
type Foo_Pk_Field struct {
// contains filtered or unexported fields
}
func Foo_Pk ¶
func Foo_Pk(v int64) Foo_Pk_Field
type Foo_Update_Fields ¶
type Foo_Update_Fields struct { }
type Methods ¶
type Methods interface { CreateNoReturn_Bar(ctx context.Context, bar_a Bar_A_Field, bar_b Bar_B_Field, optional Bar_Create_Fields) ( err error) CreateNoReturn_Baz(ctx context.Context, optional Baz_Create_Fields) ( err error) CreateNoReturn_Foo(ctx context.Context, optional Foo_Create_Fields) ( err error) Get_Bar_By_Pk(ctx context.Context, bar_pk Bar_Pk_Field) ( bar *Bar, err error) Get_Baz_By_Pk(ctx context.Context, baz_pk Baz_Pk_Field) ( baz *Baz, err error) Get_Foo_By_Pk(ctx context.Context, foo_pk Foo_Pk_Field) ( foo *Foo, err error) }
Click to show internal directories.
Click to hide internal directories.