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 Kv_Key_Field ¶
type Kv_Key_Field struct {
// contains filtered or unexported fields
}
func Kv_Key ¶
func Kv_Key(v string) Kv_Key_Field
type Kv_Update_Fields ¶
type Kv_Update_Fields struct {
}
type Kv_Val_Field ¶
type Kv_Val_Field struct {
// contains filtered or unexported fields
}
func Kv_Val ¶
func Kv_Val(v string) Kv_Val_Field
type Methods ¶
type Methods interface {
All_Kv(ctx context.Context) (
rows []*Kv, err error)
Get_Kv_By_Key(ctx context.Context,
kv_key Kv_Key_Field) (
kv *Kv, err error)
ReplaceNoReturn_Kv(ctx context.Context,
kv_key Kv_Key_Field,
kv_val Kv_Val_Field) (
err error)
}
Click to show internal directories.
Click to hide internal directories.