Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlueprintLookup ¶
type BlueprintLookup interface {
LookupByName(name string) (*planner.BlueprintDef, error)
}
BlueprintLookup resolves blueprint definitions by name.
type FKBinding ¶
type FKBinding struct {
ChildField string
ParentBlueprint string
ParentTable string
ParentField string
Value any
}
FKBinding describes a single FK assignment made before an insert.
type InsertFunc ¶
InsertFunc is the type-erased insert function stored in BlueprintDef.
type LogEntry ¶
type LogEntry struct {
Step int
Blueprint string
Table string
Provided bool
FKBindings []FKBinding
}
LogEntry holds information about a single insert operation.
type NodeResult ¶
NodeResult holds the result of a single inserted node.
Click to show internal directories.
Click to hide internal directories.