ra0o0f / arangoclient.net

ArangoDB .NET Client with LINQ support
Apache License 2.0
99 stars 37 forks source link

CreateStatement<object> & Remove Vertex #131

Closed dotnetnoobie closed 5 years ago

dotnetnoobie commented 5 years ago

When I try to execute a query as in this example using CreateStatement it never deletes anything in the database, I also get no errors

Deleting vertices with associated edges

LET edgeKeys = (FOR v, e IN 1..1 ANY 'germanCity/Berlin' GRAPH 'routeplanner' RETURN e._key)
LET r = (FOR key IN edgeKeys 
                     REMOVE key IN internationalHighway OPTIONS { ignoreErrors: true } 
                     REMOVE key IN germanHighway OPTIONS { ignoreErrors: true } 
                     REMOVE key IN frenchHighway OPTIONS { ignoreErrors: true }) 
REMOVE 'Berlin' IN germanCity

Anyone have any advice?

dotnetnoobie commented 5 years ago

Ok I seem have this working now

I assume I had a bug in my original query