utils

package
v0.0.0-...-33e2ebc Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildWhereCause

func BuildWhereCause(objPtr interface{}) *[]query.WhereCause

func DbError

func DbError(err error) error

func GetArrayValueByIndex

func GetArrayValueByIndex(list []string, index int) string

func IsSlice

func IsSlice(value interface{}) bool

Types

type NamedParameterQuery

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

func NewNamedParameterQuery

func NewNamedParameterQuery(queryText string, params []interface{}) *NamedParameterQuery

func (*NamedParameterQuery) GetParsedParameters

func (n *NamedParameterQuery) GetParsedParameters() []interface{}

func (*NamedParameterQuery) GetParsedQuery

func (n *NamedParameterQuery) GetParsedQuery() string

Jump to

Keyboard shortcuts

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