Documentation ¶
Index ¶
- Variables
- func DeleteAll(ctx context.Context, db *DB) (int64, error)
- type DB
- type DBMethods
- type Error
- type ErrorCode
- type Methods
- type Person
- type Person_Create_Fields
- type Person_Name_Field
- type Person_Pk_Field
- type Person_Update_Fields
- type Person_ValueNullUp_Field
- type Person_ValueNull_Field
- type Person_ValueUp_Field
- type Person_Value_Field
- 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 Methods ¶
type Methods interface { Create_Person(ctx context.Context, person_name Person_Name_Field, person_value Person_Value_Field, person_value_up Person_ValueUp_Field, optional Person_Create_Fields) ( person *Person, err error) Delete_Person_By_Value_And_ValueUp_And_ValueNull_And_ValueNullUp(ctx context.Context, person_value Person_Value_Field, person_value_up Person_ValueUp_Field, person_value_null Person_ValueNull_Field, person_value_null_up Person_ValueNullUp_Field) ( count int64, err error) Get_Person_By_Pk(ctx context.Context, person_pk Person_Pk_Field) ( person *Person, err error) Get_Person_By_Value_And_ValueUp_And_ValueNull_And_ValueNullUp(ctx context.Context, person_value Person_Value_Field, person_value_up Person_ValueUp_Field, person_value_null Person_ValueNull_Field, person_value_null_up Person_ValueNullUp_Field) ( person *Person, err error) Update_Person_By_Pk_And_Value_And_ValueUp_And_ValueNull_And_ValueNullUp(ctx context.Context, person_pk Person_Pk_Field, person_value Person_Value_Field, person_value_up Person_ValueUp_Field, person_value_null Person_ValueNull_Field, person_value_null_up Person_ValueNullUp_Field, update Person_Update_Fields) ( person *Person, err error) }
type Person_Create_Fields ¶
type Person_Create_Fields struct { ValueNull Person_ValueNull_Field ValueNullUp Person_ValueNullUp_Field }
type Person_Name_Field ¶
type Person_Name_Field struct {
// contains filtered or unexported fields
}
func Person_Name ¶
func Person_Name(v string) Person_Name_Field
type Person_Pk_Field ¶
type Person_Pk_Field struct {
// contains filtered or unexported fields
}
func Person_Pk ¶
func Person_Pk(v int64) Person_Pk_Field
type Person_Update_Fields ¶
type Person_Update_Fields struct { ValueUp Person_ValueUp_Field ValueNullUp Person_ValueNullUp_Field }
type Person_ValueNullUp_Field ¶
type Person_ValueNullUp_Field struct {
// contains filtered or unexported fields
}
func Person_ValueNullUp ¶
func Person_ValueNullUp(v uint64) Person_ValueNullUp_Field
func Person_ValueNullUp_Null ¶
func Person_ValueNullUp_Null() Person_ValueNullUp_Field
func Person_ValueNullUp_Raw ¶
func Person_ValueNullUp_Raw(v *uint64) Person_ValueNullUp_Field
type Person_ValueNull_Field ¶
type Person_ValueNull_Field struct {
// contains filtered or unexported fields
}
func Person_ValueNull ¶
func Person_ValueNull(v uint64) Person_ValueNull_Field
func Person_ValueNull_Null ¶
func Person_ValueNull_Null() Person_ValueNull_Field
func Person_ValueNull_Raw ¶
func Person_ValueNull_Raw(v *uint64) Person_ValueNull_Field
type Person_ValueUp_Field ¶
type Person_ValueUp_Field struct {
// contains filtered or unexported fields
}
func Person_ValueUp ¶
func Person_ValueUp(v uint64) Person_ValueUp_Field
type Person_Value_Field ¶
type Person_Value_Field struct {
// contains filtered or unexported fields
}
func Person_Value ¶
func Person_Value(v uint64) Person_Value_Field
Click to show internal directories.
Click to hide internal directories.