Back to

Package base

Latest Go to latest

The latest major version is .

Published: Jul 8, 2020 | License: LGPL-3.0 | Module:


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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier