You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately the info supplied in the issue is not sufficient to reproduce the bug, as it presumes that data is already present in the database.
Please write a failing test case for this bug so I can easily reproduce it. Then I will try to find time to look into it. If you are able to resolve the bug yourself, and Pull Request will be happily accepted.
It turns out that you have to initialize the Db property of Webpage returned by CypherQuery in res struct manually before you can call methods like Id() which is present in neoism.Node. Of course, you can do that once you are aware it has to be done, but it feels very awkward. Is there a more intuitive way of handling this?
websites, _ := DB.NodesByLabel("Website")
for _, website := range websites {
stmt :=
MATCH (webpage:Webpage)-[]->(website:Website{website:{website}}) RETURN webpage;
address, _ := website.Property("address")
params := neoism.Props{"website": address}
Here err is nil but res[0].Webpage is typeof Node and still have not Id() method and Data present in this object.
The text was updated successfully, but these errors were encountered: