Hi,

ArangoDB looks awesome... what's the catch ;)

How about this (from https://www.arangodb.com) 

FOR meetup IN meetups
  FILTER 'NOSQL' IN meetup.topics
  FOR city IN OUTBOUND meetup held_in
    FOR programmer IN INBOUND city *lives_in*
      FILTER programmer.notify
      FOR cname IN city_names
        FILTER *cname.city == city._key* AND *cname.lang == programmer.lang*
        INSERT { email: programmer.email, meetup: meetup._key, city: 
cname.name }
        INTO invitations

Now what is wrong with this code : 

FOR meetup IN meetups
  FILTER 'NOSQL' IN meetup.topics
  FOR city IN OUTBOUND meetup held_in
    FOR programmer IN INBOUND city lives_in
      FILTER programmer.notify
        INSERT { email: programmer.email, meetup: meetup._key, city: 
city.name }
        INTO invitations

Thx


-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to