crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
e87a8262
ROOT
/
go
/
libraries
/
doltcore
/
merge
/
violations_fk.go
Search
History
635 lines
|
ISO-8859-1
|
21 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
constraintViolationsLoadedTable
TableName
:
string
Table
:
*doltdb.Table
Schema
:
schema.Schema
RowData
:
durable.Index
Index
:
schema.Index
IndexSchema
:
schema.Schema
IndexData
:
durable.Index
CvType
CvType_ForeignKey
:
CvType
CvType_UniqueIndex
CvType_CheckConstraint
AddForeignKeyViolations
(ctx context.Context, newRoot, baseRoot *doltdb.RootValue, tables *set.StrSet, theirRootIsh hash.Hash)
:
(*doltdb.RootValue, *set.StrSet, error)
parentFkConstraintViolations
( ctx context.Context, foreignKey doltdb.ForeignKey, postParent, postChild *constraintViolationsLoadedTable, preParentSch schema.Schema, preParentRowData durable.Index, theirRootIsh hash.Hash, jsonData []byte, )
:
(*doltdb.Table, bool, error)
childFkConstraintViolations
( ctx context.Context, foreignKey doltdb.ForeignKey, postParent, postChild *constraintViolationsLoadedTable, preChildSch schema.Schema, preChildRowData durable.Index, ourCmHash hash.Hash, jsonData []byte)
:
(*doltdb.Table, bool, error)
nomsParentFkConstraintViolations
( ctx context.Context, foreignKey doltdb.ForeignKey, postParent, postChild *constraintViolationsLoadedTable, preParentSch schema.Schema, preParentRowData types.Map, jsonData []byte)
:
(*doltdb.Table, bool, error)
nomsParentFkConstraintViolationsProcess
( ctx context.Context, foreignKey doltdb.ForeignKey, postChild *constraintViolationsLoadedTable, postChildIndexPartialKey types.Tuple, postChildCVMapEditor *types.MapEditor, vInfo types.JSON, )
:
(bool, error)
nomsChildFkConstraintViolations
( ctx context.Context, foreignKey doltdb.ForeignKey, postParent, postChild *constraintViolationsLoadedTable, preChildSch schema.Schema, preChildRowData types.Map, )
:
(*doltdb.Table, bool, error)
childFkConstraintViolationsProcess
( ctx context.Context, foreignKey doltdb.ForeignKey, postParent, postChild *constraintViolationsLoadedTable, rowDiff *diff2.Difference, parentPartialKey types.Tuple, postChildCVMapEditor *types.MapEditor, vInfo types.JSON, )
:
(bool, error)
newConstraintViolationsLoadedTable
(ctx context.Context, tblName, idxName string, root *doltdb.RootValue)
:
(*constraintViolationsLoadedTable, bool, error)
toConstraintViolationRow
(ctx context.Context, vType CvType, vInfo types.JSON, k, v types.Tuple)
:
(types.Tuple, types.Tuple, error)
foreignKeyCVJson
(foreignKey doltdb.ForeignKey, sch, refSch schema.Schema)
:
([]byte, error)
jsonDataToNomsValue
(ctx context.Context, vrw types.ValueReadWriter, data []byte)
:
(types.JSON, error)
All occurrences
Please wait...
Page is in error, reload to recover