I have one function 'addpost' with language 'JavaScript' & Input
parameters for the function are id and desc. 'desc' parameter value may be
contain the spacial characters.
var db = orient.getGraph();
var vkQuery = "CREATE VERTEX post CONTENT {'id':'"+ id+"', 'desc':'"+ desc +
"'}";
var vkInsert = db.command("sql",vkQuery);
It cause for error : addpost: 'error
com.orientechnologies.orient.core.sql.parser.TokenMgrError: Lexical error
at line 1, column 637. Encountered: "\\n" (10), after : "\\\'WhatsApp
funny Videos 2016"',
Is there is any way resolve this issue.
On Friday, August 19, 2016 at 1:45:19 PM UTC+5:30, [email protected]
wrote:
>
> Hi,
> could you post an example of your query to update input string special
> characters ?
>
> Thanks
>
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" 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.