propertymap unmarshal to go map
flashpixx opened this issue · comments
Hello,
I try to query my graph and I would like to get the full property value back as a go map without iterating:
result, err := client.ExecuteQuery(grammes.Traversal().V().HasLabel("User").Has("sid", s).PropertyMap())
if err != nil {
return nil, err
}
var x : map["string"]interface{}
x = grammes.Unmerashaling????(result)
The query returns a single vertex and I would like to get all properties in a map. Thanks