Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTablePriKeyName ¶ added in v0.7.0
func GetTablePriKeyName(pKeyDef *plan.PrimaryKeyDef, cPkeyCol *plan.ColDef) string
Get the primary key name of the table
Types ¶
type UpdateCtx ¶ added in v0.6.0
type UpdateCtx struct {
Source []engine.Relation
UniqueSource [][]engine.Relation
Idxs [][]int32
Ref []*plan.ObjectRef
TableDefs []*plan.TableDef
HasAutoCol []bool
UpdateCol []map[string]int32
IdxSource []engine.Relation
IdxIdx []int32
OnRestrictIdx []int32
OnCascadeSource []engine.Relation
OnCascadeUniqueSource [][]engine.Relation
OnCascadeIdx [][]int32
OnCascadeRef []*plan.ObjectRef
OnCascadeTableDef []*plan.TableDef
OnCascadeUpdateCol []map[string]int32
OnSetSource []engine.Relation
OnSetUniqueSource [][]engine.Relation
OnSetIdx [][]int32
OnSetRef []*plan.ObjectRef
OnSetTableDef []*plan.TableDef
OnSetUpdateCol []map[string]int32
ParentIdx []map[string]int32
}
Click to show internal directories.
Click to hide internal directories.