dbconsts

package
v1.0.1-rel-01 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: AFL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DB_CATAGORY_METADATA = iota + 1
	DB_CATAGORY_CMD
	DB_CATAGORY_QUERY
)
View Source
const (
	DB_CMD_TYPE_AutoMigrate = iota + 1
	DB_CMD_TYPE_METAQUERY

	DB_CMD_TYPE_INSERT
	DB_CMD_TYPE_UPDATE
	DB_CMD_TYPE_UPDATE_NOTNULL
	DB_CMD_TYPE_DELETEBYID
	DB_CMD_TYPE_DELETE_WHERE
	DB_CMD_TYPE_DELETE_ALL

	DB_CMD_TYPE_QUERY
	B_CMD_TYPE_QUERYALL
	DB_CMD_TYPE_GENERALQUERY
	DB_CMD_TYPE_GENERALSCANTABLE
	DB_CMD_TYPE_SQL_SELECT

	DB_CMD_TYPE_FINDBYID
	DB_CMD_TYPE_GROUPSTAT
	DB_CMD_TYPE_STAT
)

Variables

View Source
var CmdName map[int]string = map[int]string{
	DB_CMD_TYPE_AutoMigrate: "DbAutoMigrate",
	DB_CMD_TYPE_METAQUERY:   "MetaQuery",

	DB_CMD_TYPE_INSERT:         "Insert",
	DB_CMD_TYPE_UPDATE:         "Update",
	DB_CMD_TYPE_UPDATE_NOTNULL: "UpdateNotNull",
	DB_CMD_TYPE_DELETEBYID:     "DeleteById",
	DB_CMD_TYPE_DELETE_WHERE:   "DeleteWhere",
	DB_CMD_TYPE_DELETE_ALL:     "DeleteAll",

	DB_CMD_TYPE_QUERY:            "Query",
	B_CMD_TYPE_QUERYALL:          "QUERYALL",
	DB_CMD_TYPE_GENERALQUERY:     "GeneralQuery",
	DB_CMD_TYPE_GENERALSCANTABLE: "GeneralScanTable",
	DB_CMD_TYPE_SQL_SELECT:       "DB_CMD_TYPE_SQL_SELECT",
	DB_CMD_TYPE_FINDBYID:         "DbFindById",
	DB_CMD_TYPE_GROUPSTAT:        "GroupStat",
	DB_CMD_TYPE_STAT:             "Stat",
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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