Documentation ¶
Index ¶
- type JSON
- type KV
- func (kv KV) Bool(key string, deflt ...bool) any
- func (kv KV) Float(key string, deflt ...float64) any
- func (kv KV) Int(key string, deflt ...int) any
- func (kv KV) String(key string, deflt ...string) any
- func (kv KV) Time(key string, deflt ...time.Time) any
- func (kv KV) UInt16(key string, deflt ...uint16) any
- func (kv KV) UUID(key string, deflt ...string) any
- type SQLStorage
- type SQLiteProvider
- type Sqlite
- type Table
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLStorage ¶
type SQLStorage interface { JSON(input any) (any, error) MustExec(sql string, args ...any) Placeholder(i int) string }
var DB SQLStorage
type SQLiteProvider ¶ added in v0.0.7
Factory where the sqlite connection is passed at runtime
type Sqlite ¶ added in v0.0.7
type Sqlite struct { Truncate func(p SQLiteProvider) Sqlite Insert func(p SQLiteProvider, args ...any) typed.Typed }
Click to show internal directories.
Click to hide internal directories.