-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't create or update record with key containing "-" #397
Comments
We also have this problem using orientjs. Possible in studio and apparently also using the java api/driver. How can we get around it? |
Hi @dargolith do you have an example of this failing? Thanks |
if you are manually writing the query you should use backtick to escape reserved character
|
Sorry for replying so late. This is what I do:
If properties contain keys with "-" in their name, this throws:
|
I ran into this because I was importing events from some calendar and those events had dashes ('-') in the properties. I eventually just changed the import code to replaceAll dashes to underscores. Since it was not core to my task, I just moved on, but it's no longer an issue for me. |
I have 'Event' records with fields like this ( x-cost-type ). I can not create/update any records and include that field in the update.
I can create/update a Vertex like this (note underscore instead of dash):
but not like this:
Is there a way around this? Or do I just not understand some limitation of ODB? I can create these fields in studio ( and via Java ) but not orientjs.
The text was updated successfully, but these errors were encountered: