wiebe
wiebe
ATApache TinkerPop
Created by wiebe on 6/1/2023 in #questions
G.V() Query syntax error
g.V().has('name',__.not(eq('josh'))).elementMap() doesn't help. g.V().has('name',P.not(eq('josh'))).elementMap() does. Guess that closes the issue...
11 replies
ATApache TinkerPop
Created by wiebe on 6/1/2023 in #questions
G.V() Query syntax error
g.V().has('name',is(eq('josh'))).elementMap() works, so it seems to be specific to not().
11 replies
ATApache TinkerPop
Created by AviPatel on 4/26/2023 in #questions
Why does properties().dedup() return duplicates?
EDIT: Never mind, that doesn't even make much sense to me anymore. g.V().both().properties().dedup().by(value) does seem to work better. I think dedup() should filter on ID. There should be duplicate IDs, but they're all unique. g.V().both().properties().dedup().id()
4 replies
ATApache TinkerPop
Created by wiebe on 4/24/2023 in #questions
g.V(1).property() on 1 item fails in 1.18.49
As a side note, why is properties() a map? Doesn't it behave like a flatMap?
12 replies
ATApache TinkerPop
Created by wiebe on 4/24/2023 in #questions
g.V(1).property() on 1 item fails in 1.18.49
g.V('9a250a1c-535c-4a5d-a6bb-8c3009ebd339') does work...
12 replies
ATApache TinkerPop
Created by wiebe on 4/24/2023 in #questions
g.V(1).property() on 1 item fails in 1.18.49
So, my bad.
12 replies
ATApache TinkerPop
Created by wiebe on 4/24/2023 in #questions
g.V(1).property() on 1 item fails in 1.18.49
It's probably an effect of the change to GUIDs as ID...
12 replies
ATApache TinkerPop
Created by wiebe on 4/24/2023 in #questions
g.V(1).property() on 1 item fails in 1.18.49
I'm using a JSON file (Tinkerpop modern data preset), so I thnk no server? No, g.V(1) doesn't works either...
12 replies
ATApache TinkerPop
Created by wiebe on 4/20/2023 in #questions
Readable IDs vs GUIDs
Cheers!
13 replies
ATApache TinkerPop
Created by wiebe on 4/20/2023 in #questions
Readable IDs vs GUIDs
Also for communicating in discord, it's quite a mouth full to post those GUIDs.
13 replies
ATApache TinkerPop
Created by wiebe on 4/20/2023 in #questions
Readable IDs vs GUIDs
Thanks, I'll look into alternatives, to use in conjunction with gdotv (which is great).
13 replies
ATApache TinkerPop
Created by wiebe on 4/20/2023 in #questions
Readable IDs vs GUIDs
Is this just for gdotv? Would a terminal to a docker image give the original IDs?
13 replies
ATApache TinkerPop
Created by wiebe on 4/20/2023 in #questions
g.E().properties().element() gives weird (wrong?) results
Thanks.
26 replies
ATApache TinkerPop
Created by wiebe on 4/20/2023 in #questions
g.E().properties().element() gives weird (wrong?) results
Sorry, no.
26 replies
ATApache TinkerPop
Created by wiebe on 4/20/2023 in #questions
g.E().properties().element() gives weird (wrong?) results
But if that got fixed, it wouldn't give the correct results, right?
26 replies
ATApache TinkerPop
Created by wiebe on 4/20/2023 in #questions
g.E().properties().element() gives weird (wrong?) results
26 replies
ATApache TinkerPop
Created by wiebe on 4/20/2023 in #questions
g.E().properties().element() gives weird (wrong?) results
Yes, exactly what I though. Also adding path() to the query, the last item in the path should match the items in the list. But path() changes the results completely.
26 replies
ATApache TinkerPop
Created by wiebe on 4/20/2023 in #questions
g.E().properties().element() gives weird (wrong?) results
I could be completely wrong of course, but 1) every edge has exactly 1 property in TinkerPop Modern. g.E().properties() confirms this. 2) This doesn't explain why g.E().properties().element().path() gives the right result?
26 replies
ATApache TinkerPop
Created by wiebe on 4/20/2023 in #questions
Readable IDs vs GUIDs
Thank, but isn't that a huge issue when comparing results with the (online) documentation?
13 replies