Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Unexpected behavior for creation/query of kebab-case property keys. #7128
OrientDB Version, operating system, or hardware.
Expected behavior and actual behavior
Background: I am writing a Clojure wrapper for OrientDB. Clojure makes frequent use of kebab-case names.
I can create a vertex with a property in kebab-case
But on query, the key must be escaped in backticks
graph.getVertices("string-key", "value") => empty collection
I would expect the create and query interfaces to behave the same. Either throwing an error when you try to create a property key that needs to be escaped, or handling the escaping on query.
Steps to reproduce the problem