g.V(1).property() on 1 item fails in 1.18.49

It seems 'anything property' on single item fails in gdotv 1.18.49: g.V(1).properties() -> [] g.V(1).propertyMap() -> [] g.V().propertyMap() is OK. g.V().limit(1).propertyMap() is also OK.
Solution:
hey, just for additional details, is that using gremlin server or another provider?
Jump to solution
5 Replies
Solution
gdotv
gdotv•2y ago
hey, just for additional details, is that using gremlin server or another provider?
gdotv
gdotv•2y ago
also if running g.V(1). does that output anything?
wiebe
wiebeOP•2y ago
I'm using a JSON file (Tinkerpop modern data preset), so I thnk no server? No, g.V(1) doesn't works either... It's probably an effect of the change to GUIDs as ID... So, my bad. g.V('9a250a1c-535c-4a5d-a6bb-8c3009ebd339') does work...
gdotv
gdotv•2y ago
right, gotcha, i thought that might be the case another example of why having the ability to specify the ID type (long , uuid, etc) on gdotv would be useful for playgrounds 😄
wiebe
wiebeOP•2y ago
As a side note, why is properties() a map? Doesn't it behave like a flatMap?
Want results from more Discord servers?
Add your server