Documentation ¶
Index ¶
- type AlterTableCmd
- type AlterTableSetSchemaStmt
- type AlterTableStmt
- type AlterTableType
- type AlterTypeAddValueStmt
- type AlterTypeRenameValueStmt
- type ColumnDef
- type ColumnRef
- type CommentOnColumnStmt
- type CommentOnSchemaStmt
- type CommentOnTableStmt
- type CommentOnTypeStmt
- type CreateEnumStmt
- type CreateFunctionStmt
- type CreateSchemaStmt
- type CreateTableStmt
- type DropFunctionStmt
- type DropSchemaStmt
- type DropTableStmt
- type DropTypeStmt
- type FuncName
- type FuncParam
- type FuncSpec
- type List
- type Node
- type RawStmt
- type RenameColumnStmt
- type RenameTableStmt
- type ResTarget
- type SelectStmt
- type Statement
- type String
- type TODO
- type TableName
- type TypeName
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlterTableCmd ¶
type AlterTableCmd struct { Subtype AlterTableType Name *string Def *ColumnDef MissingOk bool }
func (*AlterTableCmd) Pos ¶
func (n *AlterTableCmd) Pos() int
type AlterTableSetSchemaStmt ¶
func (*AlterTableSetSchemaStmt) Pos ¶
func (n *AlterTableSetSchemaStmt) Pos() int
type AlterTableStmt ¶
func (*AlterTableStmt) Pos ¶
func (n *AlterTableStmt) Pos() int
type AlterTableType ¶
type AlterTableType int
const ( AT_AddColumn AlterTableType = iota AT_AlterColumnType AT_DropColumn AT_DropNotNull AT_SetNotNull )
type AlterTypeAddValueStmt ¶ added in v1.2.0
func (*AlterTypeAddValueStmt) Pos ¶ added in v1.2.0
func (n *AlterTypeAddValueStmt) Pos() int
type AlterTypeRenameValueStmt ¶ added in v1.2.0
func (*AlterTypeRenameValueStmt) Pos ¶ added in v1.2.0
func (n *AlterTypeRenameValueStmt) Pos() int
type CommentOnColumnStmt ¶
func (*CommentOnColumnStmt) Pos ¶
func (n *CommentOnColumnStmt) Pos() int
type CommentOnSchemaStmt ¶
func (*CommentOnSchemaStmt) Pos ¶
func (n *CommentOnSchemaStmt) Pos() int
type CommentOnTableStmt ¶
func (*CommentOnTableStmt) Pos ¶
func (n *CommentOnTableStmt) Pos() int
type CommentOnTypeStmt ¶
func (*CommentOnTypeStmt) Pos ¶
func (n *CommentOnTypeStmt) Pos() int
type CreateEnumStmt ¶
func (*CreateEnumStmt) Pos ¶
func (n *CreateEnumStmt) Pos() int
type CreateFunctionStmt ¶
type CreateFunctionStmt struct { Replace bool Params []*FuncParam ReturnType *TypeName Func *FuncName }
func (*CreateFunctionStmt) Pos ¶
func (n *CreateFunctionStmt) Pos() int
type CreateSchemaStmt ¶
func (*CreateSchemaStmt) Pos ¶
func (n *CreateSchemaStmt) Pos() int
type CreateTableStmt ¶
func (*CreateTableStmt) Pos ¶
func (n *CreateTableStmt) Pos() int
type DropFunctionStmt ¶
func (*DropFunctionStmt) Pos ¶
func (n *DropFunctionStmt) Pos() int
type DropSchemaStmt ¶
func (*DropSchemaStmt) Pos ¶
func (n *DropSchemaStmt) Pos() int
type DropTableStmt ¶
func (*DropTableStmt) Pos ¶
func (n *DropTableStmt) Pos() int
type DropTypeStmt ¶
func (*DropTypeStmt) Pos ¶
func (n *DropTypeStmt) Pos() int
type RenameColumnStmt ¶
func (*RenameColumnStmt) Pos ¶
func (n *RenameColumnStmt) Pos() int
type RenameTableStmt ¶
func (*RenameTableStmt) Pos ¶
func (n *RenameTableStmt) Pos() int
type SelectStmt ¶
func (*SelectStmt) Pos ¶
func (n *SelectStmt) Pos() int
Click to show internal directories.
Click to hide internal directories.