Documentation ¶
Index ¶
- Variables
- func DeleteAll(ctx context.Context, db *DB) (int64, error)
- type DB
- type DBMethods
- type Error
- type ErrorCode
- type Foo
- type Foo_Create_Fields
- type Foo_Data64_Field
- type Foo_Data_Field
- type Foo_NullableData64_Field
- type Foo_NullableData_Field
- type Foo_Pk_Field
- type Foo_Update_Fields
- type Methods
- 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 DB ¶
type Foo_Create_Fields ¶
type Foo_Create_Fields struct { NullableData Foo_NullableData_Field NullableData64 Foo_NullableData64_Field }
type Foo_Data64_Field ¶
type Foo_Data64_Field struct {
// contains filtered or unexported fields
}
func Foo_Data64 ¶
func Foo_Data64(v float64) Foo_Data64_Field
type Foo_Data_Field ¶
type Foo_Data_Field struct {
// contains filtered or unexported fields
}
func Foo_Data ¶
func Foo_Data(v float32) Foo_Data_Field
type Foo_NullableData64_Field ¶
type Foo_NullableData64_Field struct {
// contains filtered or unexported fields
}
func Foo_NullableData64 ¶
func Foo_NullableData64(v float64) Foo_NullableData64_Field
func Foo_NullableData64_Null ¶
func Foo_NullableData64_Null() Foo_NullableData64_Field
func Foo_NullableData64_Raw ¶
func Foo_NullableData64_Raw(v *float64) Foo_NullableData64_Field
type Foo_NullableData_Field ¶
type Foo_NullableData_Field struct {
// contains filtered or unexported fields
}
func Foo_NullableData ¶
func Foo_NullableData(v float32) Foo_NullableData_Field
func Foo_NullableData_Null ¶
func Foo_NullableData_Null() Foo_NullableData_Field
func Foo_NullableData_Raw ¶
func Foo_NullableData_Raw(v *float32) Foo_NullableData_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 { }
Click to show internal directories.
Click to hide internal directories.