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 ¶
Types ¶
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 string) Foo_B_Field
type Foo_C_Field ¶
type Foo_C_Field struct {
// contains filtered or unexported fields
}
func Foo_C ¶
func Foo_C(v string) Foo_C_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 {
All_Foo_By__A_Or__B_Or_C(ctx context.Context,
foo_a Foo_A_Field,
foo_b Foo_B_Field,
foo_c Foo_C_Field) (
rows []*Foo, err error)
Create_Foo(ctx context.Context,
foo_a Foo_A_Field,
foo_b Foo_B_Field,
foo_c Foo_C_Field) (
foo *Foo, err error)
}
Click to show internal directories.
Click to hide internal directories.