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_Data_Field ¶
type Foo_Data_Field struct {
// contains filtered or unexported fields
}
func Foo_Data ¶
func Foo_Data(v string) Foo_Data_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 {
Data Foo_Data_Field
}
type Methods ¶
type Methods interface { Create_Foo(ctx context.Context, foo_data Foo_Data_Field) ( foo *Foo, err error) Delete_Foo_By_Pk_And_Pk(ctx context.Context, foo_pk Foo_Pk_Field, foo_pk_2 Foo_Pk_Field) ( deleted bool, err error) Get_Foo_By_Pk_And_Pk(ctx context.Context, foo_pk Foo_Pk_Field, foo_pk_2 Foo_Pk_Field) ( foo *Foo, err error) Update_Foo_By_Pk_And_Pk(ctx context.Context, foo_pk Foo_Pk_Field, foo_pk_2 Foo_Pk_Field, update Foo_Update_Fields) ( foo *Foo, err error) }
Click to show internal directories.
Click to hide internal directories.