mysql

package
v0.0.0-...-948df8c Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ColumnsObjs _ColumnsObjs

Functions

This section is empty.

Types

type Columns

type Columns struct {
	TableCatalog           string `json:"TABLE_CATALOG"`
	TableSchema            string `json:"TABLE_SCHEMA"`
	TableName              string `json:"TABLE_NAME"`
	ColumnName             string `json:"COLUMN_NAME"`
	OrdinalPosition        int64  `json:"ORDINAL_POSITION"`
	ColumnDefault          string `json:"COLUMN_DEFAULT"`
	IsNullable             string `json:"IS_NULLABLE"`
	DataType               string `json:"DATA_TYPE"`
	CharacterMaximumLength int64  `json:"CHARACTER_MAXIMUM_LENGTH"`
	CharacterOctetLength   int64  `json:"CHARACTER_OCTET_LENGTH"`
	NumericPrecision       int64  `json:"NUMERIC_PRECISION"`
	NumericScale           int64  `json:"NUMERIC_SCALE"`
	DatetimePrecision      int64  `json:"DATETIME_PRECISION"`
	CharacterSetName       string `json:"CHARACTER_SET_NAME"`
	CollationName          string `json:"COLLATION_NAME"`
	ColumnType             string `json:"COLUMN_TYPE"`
	ColumnKey              string `json:"COLUMN_KEY"`
	Extra                  string `json:"EXTRA"`
	Privileges             string `json:"PRIVILEGES"`
	ColumnComment          string `json:"COLUMN_COMMENT"`
}

func (Columns) Delete

func (obj Columns) Delete(dbtx gmq.DbTx) (int64, error)

func (Columns) Insert

func (obj Columns) Insert(dbtx gmq.DbTx) (Columns, error)

func (Columns) String

func (obj Columns) String() string

func (Columns) Update

func (obj Columns) Update(dbtx gmq.DbTx) (int64, error)

type ColumnsRowVisitor

type ColumnsRowVisitor func(obj Columns) bool

Jump to

Keyboard shortcuts

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