dbconsts

package
v1.0.2-dev-10 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MulanPSL-2.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
	DB_CMD_TYPE_GENERALQUERY
	DB_CMD_TYPE_GENERALSCANTABLE

	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: "AutoMigrate",
	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",
	DB_CMD_TYPE_GENERALQUERY:     "GeneralQuery",
	DB_CMD_TYPE_GENERALSCANTABLE: "GeneralScanTable",
	DB_CMD_TYPE_FINDBYID:         "FindById",
	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