Clean up Linkage definition
A linkage is a direction/value pair, and that's all. A set of these can have helper functions and the like. Cleans up some assumptions of functionality that isn't useful (yet).
This commit is contained in:
parent
3a7da9f2a0
commit
d639aa3205
3 changed files with 11 additions and 22 deletions
|
|
@ -68,7 +68,7 @@ func (qs *QuadStore) optimizeAndIterator(it *iterator.And) (graph.Iterator, bool
|
|||
lset := []graph.Linkage{
|
||||
{
|
||||
Dir: mongoIt.dir,
|
||||
Values: []graph.Value{qs.ValueOf(mongoIt.name)},
|
||||
Value: qs.ValueOf(mongoIt.name),
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue