Hello.
What characters should be escaped in Dgraph queries?
I guess the following list:
- \ character
- " character
- new line character
- carriage return character
Is there anything else?
P.S. I make requests by java Dgraph client.
Hello.
What characters should be escaped in Dgraph queries?
I guess the following list:
Is there anything else?
P.S. I make requests by java Dgraph client.
There’s a blurb in the docs about escaping special characters: Get started with Dgraph
Note: If your predicate has special characters, then you should wrap it with angular brackets while asking for it in the query. E.g.
<first:name>
I’d include <, >, /, and : characters for escaping.
Can you please point me to the appropriate docs? the above link is invalid.