Collection names that contain dashes need to be enclosed in backticks in AQL. Otherwise they are not distinguishable from other expressions e.g. "a-b" could mean subtract "b" from "a" or collection name "a-b". Best regards Jan
Am Dienstag, 21. November 2017 17:32:17 UTC+1 schrieb Alexey Bandura: > > Hello everyone! > I am using ArangoDB version: 3.2.6. > In the ArangoDB documentation it is said that collection names can contain > letters, digits, _ (underscore) and - (dash) characters. However when > collection names contain dashes, the AQL query aborts with the error code > 404 - collection not found. > Example: imagine you've created a collection *Hello-world* and added a > couples of documents. When you are trying to execute "*For c in > Hello-world return c*" you receive an error: collection not found > (Hello). So, for some reason parser discards everything that follows the > dash. > -- 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.
