mysql

package
v0.0.0-...-90ff682 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BeegoDB orm.Ormer
View Source
var GormDB *gorm.DB

Functions

func MySQLQuery

func MySQLQuery(sql string, args ...interface{}) ([]orm.Params, error)

func MySQLQueryOne

func MySQLQueryOne(sql string, args ...interface{}) (orm.Params, error)

func MySQLQueryToJson

func MySQLQueryToJson(sql string, args ...interface{}) (string, error)

func MySQLQueryToJsonWithOrmer

func MySQLQueryToJsonWithOrmer(o orm.Ormer, sql string, args ...interface{}) (string, error)

func MySQLQueryValueWithField

func MySQLQueryValueWithField(field string, sql string, args ...interface{}) (string, error)

func MySQLQueryWithOrmer

func MySQLQueryWithOrmer(o orm.Ormer, sql string, args ...interface{}) ([]orm.Params, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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