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_Pk_Field
- type Foo_Update_Fields
- type Methods
- type Minimal
- type Minimal_Pk_Field
- type Minimal_Update_Fields
- type Special
- type Special_A_Field
- type Special_B_Field
- type Special_Create_Fields
- type Special_Pk_Field
- type Special_Update_Fields
- 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
}
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 { Create_Bar(ctx context.Context, bar_a Bar_A_Field, bar_b Bar_B_Field, optional Bar_Create_Fields) ( bar *Bar, err error) Create_Baz(ctx context.Context, optional Baz_Create_Fields) ( baz *Baz, err error) Create_Foo(ctx context.Context, optional Foo_Create_Fields) ( foo *Foo, err error) Create_Minimal(ctx context.Context) ( minimal *Minimal, 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) }
type Minimal_Pk_Field ¶
type Minimal_Pk_Field struct {
// contains filtered or unexported fields
}
func Minimal_Pk ¶
func Minimal_Pk(v int64) Minimal_Pk_Field
type Minimal_Update_Fields ¶
type Minimal_Update_Fields struct { }
type Special_A_Field ¶
type Special_A_Field struct {
// contains filtered or unexported fields
}
func Special_A ¶
func Special_A(v time.Time) Special_A_Field
type Special_B_Field ¶
type Special_B_Field struct {
// contains filtered or unexported fields
}
func Special_B ¶
func Special_B(v []byte) Special_B_Field
type Special_Create_Fields ¶
type Special_Create_Fields struct { A Special_A_Field B Special_B_Field }
type Special_Pk_Field ¶
type Special_Pk_Field struct {
// contains filtered or unexported fields
}
func Special_Pk ¶
func Special_Pk(v int64) Special_Pk_Field
type Special_Update_Fields ¶
type Special_Update_Fields struct { }
Click to show internal directories.
Click to hide internal directories.