statement

package
v0.0.0-...-459568a Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Abort

type Abort struct{}

type Begin

type Begin struct {
	IsRepeatableRead bool
}

type Commit

type Commit struct{}

type Create

type Create struct {
	TableName string
	Fields    []Field
	Index     []string
}

type CreateStmt

type CreateStmt struct {
	TableName string
	FieldName []string
	FieldType []string
	Index     []string
}

type Delete

type Delete struct {
	TableName string
	Where     *Where
}

type DeleteStmt

type DeleteStmt struct {
	TableName string
	Where     *WhereStmt
}

type Drop

type Drop struct {
	TableName string
}

type Field

type Field struct {
	Name      string
	IndexType INDEX_TYPE
	IndexName string
	FType     FIELD_TYPE
	Length    uint32
	Precision int
}

type Index

type Index struct {
	IndexType INDEX_TYPE
	IndexName string
	Field     string
}

type Insert

type Insert struct {
	TableName string
	Fields    []string
	Values    []string
}

type InsertStmt

type InsertStmt struct {
	TableName string
	Values    []string
}

type Read

type Read struct {
	TableName string
	Fields    []string
	Where     *Where
}

type SelectStmt

type SelectStmt struct {
	TableName string
	Fields    []interface{}
	Where     *WhereStmt
}

type Show

type Show struct {
}

type SingleExp

type SingleExp struct {
	Field string
	CmpOp string
	Value string
}

type SingleExpStmt

type SingleExpStmt struct {
	Field   string
	CmpOp   string
	Value   interface{}
	LogicOp string
}

type Update

type Update struct {
	TableName string
	FieldName string
	Value     string
	Where     *Where
}

type UpdateStmt

type UpdateStmt struct {
	TableName string
	FieldName string
	Value     interface{}
	Where     *WhereStmt
}

type Where

type Where struct {
	SingleExp1 *SingleExp
	LogicOp    string
	SingleExp2 *SingleExp
}

type WhereStmt

type WhereStmt struct {
	SingleExp []*SingleExpStmt
}

Jump to

Keyboard shortcuts

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