Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

propertymap unmarshal to go map #24

Open
flashpixx opened this issue Jun 29, 2020 · 0 comments
Open

propertymap unmarshal to go map #24

flashpixx opened this issue Jun 29, 2020 · 0 comments

Comments

@flashpixx
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant