tuple.Tuple needed to be deconstructed into TupleElement items before appending to key tuple

This commit is contained in:
Awbrey Hughlett 2018-10-23 22:13:52 -05:00
parent a074dc2a60
commit 832d8d5e8c

View File

@ -210,7 +210,7 @@ func (doc Doc) GetDoc(trtr fdb.Transactor, doc_id int) interface{} {
if err != nil {
panic(err)
}
tuples = append(tuples, append(tup[1:len(tup)], _unpack(v.Value)))
tuples = append(tuples, append(tup[1:len(tup)], _unpack(v.Value)...))
}
return nil, nil
})