As part of a CMS migration we store all content as JSON in ArangoDB. 
Content objects have to path properties

_path = '/path/to/my/content/foo.html'
_path2 = ['path', 'to', 'my', 'content', 'foo.html']

Basic question: what is the best way to query in AQL for all documents by 
where _path matches a particular prefix like '/path' or 
'/path/to/my/content'.
I can use FILTER doc._path like '/path/%' but that's not very 
efficient...any better idea?



-- 
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/3d708ea1-ecd8-48d8-adee-fe878e0ef714%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to