base

package
v0.0.0-...-95c851e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2024 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Helper

type Helper struct {
	// contains filtered or unexported fields
}

func NewHelper

func NewHelper() *Helper

func (Helper) CreateWithID

func (h Helper) CreateWithID(tx *sqlx.Tx, sql string, arg interface{}) (int64, error)

func (Helper) RetryableErr

func (h Helper) RetryableErr(err error) bool

func (Helper) SQL

func (h Helper) SQL() db.SqlStmts

func (*Helper) Set

func (h *Helper) Set(override db.SqlStmts)

func (Helper) Upgrade

func (h Helper) Upgrade(db *db.DB, old, new int) error

func (Helper) WhereMultipleORs

func (h Helper) WhereMultipleORs(column, prefix string, length int, equal bool) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL