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_prolly.go
Search
History
374 lines
|
ISO-8859-1
|
10 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
prollyParentFkConstraintViolations
( ctx context.Context, foreignKey doltdb.ForeignKey, postParent, postChild *constraintViolationsLoadedTable, preParentRowData prolly.Map, theirRootIsh hash.Hash, jsonData []byte)
:
(*doltdb.Table, bool, error)
prollyChildFkConstraintViolations
( ctx context.Context, foreignKey doltdb.ForeignKey, postParent, postChild *constraintViolationsLoadedTable, preChildRowData prolly.Map, theirRootIsh hash.Hash, jsonData []byte)
:
(*doltdb.Table, bool, error)
createCVIfNoPartialKeyMatches
( ctx context.Context, k, v, partialKey val.Tuple, kd, vd, partialKeyDesc val.TupleDesc, idx prolly.Map, editor prolly.ArtifactsEditor, jsonData []byte, theirRootIsh hash.Hash, tblName string)
:
(bool, error)
handleFkMultipleViolForRowErr
(err error, kd val.TupleDesc, tblName string)
:
error
getRefTblAndCols
(m FkCVMeta)
:
string
createCVsForPartialKeyMatches
( ctx context.Context, partialKey val.Tuple, partialKeyDesc val.TupleDesc, editor prolly.ArtifactsEditor, primaryKD val.TupleDesc, primaryIdx prolly.Map, secondaryIdx prolly.Map, pool pool.BuffPool, jsonData []byte, theirRootIsh hash.Hash, tblName string, )
:
(bool, error)
makePartialKey
(kb *val.TupleBuilder, tags []uint64, idxSch schema.Index, tblSch schema.Schema, k, v val.Tuple, pool pool.BuffPool)
:
(val.Tuple, bool)
FkCVMeta
Columns
:
[]string
ForeignKey
:
string
Index
:
string
OnDelete
:
string
OnUpdate
:
string
ReferencedColumns
:
[]string
ReferencedIndex
:
string
ReferencedTable
:
string
Table
:
string
Unmarshall
(ctx *sql.Context)
:
(val sql.JSONDocument, err error)
Compare
(ctx *sql.Context, v sql.JSONValue)
:
(cmp int, err error)
ToString
(ctx *sql.Context)
:
(string, error)
PrettyPrint
()
:
string
_
:
sql.JSONValue
All occurrences
Please wait...
Page is in error, reload to recover