ssqlquery

package module
v0.0.0-...-746695f Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2023 License: MIT Imports: 6 Imported by: 0

README

ssqlquery

Simple cache reflection SQL query tool

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	IsNotPtrOfSliceStructTypeErr = errors.New(`is not '*[]struct' type`)
	NoFeildStructErr             = errors.New("must be one feild at least")
	FieldIsNotBaseTypeErr        = errors.New("field must be base type")
	FieldIsAnonymousErr          = errors.New("field can not be anonymous")
	FieldIsNotExportErr          = errors.New("field must be export")
	NoSQLTagErr                  = errors.New("tag 'sql' is empty")
	DbHandleErr                  = errors.New("dbHandle must be *sql.DB or *sql.Tx")
)

Functions

func QueryContext

func QueryContext(ctx context.Context, dbHandle interface{}, objectModel interface{}, q string, args ...interface{}) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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