Is there a preferred or most performant way of querying for a subset of
documents in AQL? I know there's a separate API for fetching bulk
documents, but this is something I need to do in the middle of a more
complex AQL query. I know I can use either:
FOR doc IN myCollection
FILTER doc._key == "1" || doc._key == "2" || doc._key == "3" // etc. for
997 more keys
RETURN doc
Or I could fetch documents directly:
RETURN [ DOCUMENT("myCollection/1"), DOCUMENT("myCollection/2"), DOCUMENT(
"myCollection/3"), ... ]
Is either of these preferred? Or is there another method I might be missing
for doing this in AQL?
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/arangodb/c44f6da7-3364-47c9-a152-5be290d13170%40googlegroups.com.