Documentation ¶
Index ¶
- Variables
- func DeleteAll(ctx context.Context, db *DB) (int64, error)
- type AssociatedAccount
- type AssociatedAccount_Pk_Field
- type AssociatedAccount_Update_Fields
- type AssociatedAccount_UserPk_Field
- type DB
- type DBMethods
- type Error
- type ErrorCode
- type Id_Row
- type Methods
- type Session
- type Session_Id_Field
- type Session_Update_Fields
- type Session_UserPk_Field
- type Tx
- type TxMethods
- type User
- type User_Pk_Field
- type User_Update_Fields
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 AssociatedAccount ¶
type AssociatedAccount_Pk_Field ¶
type AssociatedAccount_Pk_Field struct {
// contains filtered or unexported fields
}
func AssociatedAccount_Pk ¶
func AssociatedAccount_Pk(v int64) AssociatedAccount_Pk_Field
type AssociatedAccount_Update_Fields ¶
type AssociatedAccount_Update_Fields struct { }
type AssociatedAccount_UserPk_Field ¶
type AssociatedAccount_UserPk_Field struct {
// contains filtered or unexported fields
}
func AssociatedAccount_UserPk ¶
func AssociatedAccount_UserPk(v int64) AssociatedAccount_UserPk_Field
type DB ¶
type Methods ¶
type Methods interface { All_Session_Id_By_AssociatedAccount_Pk(ctx context.Context, associated_account_pk AssociatedAccount_Pk_Field) ( rows []*Id_Row, err error) Create_AssociatedAccount(ctx context.Context, associated_account_user_pk AssociatedAccount_UserPk_Field) ( associated_account *AssociatedAccount, err error) Create_Session(ctx context.Context, session_user_pk Session_UserPk_Field) ( session *Session, err error) Create_User(ctx context.Context) ( user *User, err error) }
type Session_Id_Field ¶
type Session_Id_Field struct {
// contains filtered or unexported fields
}
func Session_Id ¶
func Session_Id(v int64) Session_Id_Field
type Session_Update_Fields ¶
type Session_Update_Fields struct { }
type Session_UserPk_Field ¶
type Session_UserPk_Field struct {
// contains filtered or unexported fields
}
func Session_UserPk ¶
func Session_UserPk(v int64) Session_UserPk_Field
type User_Pk_Field ¶
type User_Pk_Field struct {
// contains filtered or unexported fields
}
func User_Pk ¶
func User_Pk(v int64) User_Pk_Field
type User_Update_Fields ¶
type User_Update_Fields struct { }
Click to show internal directories.
Click to hide internal directories.