Hi,
you could use 

var db = orient.getGraph();
var id= 1000;
var mydesc = "Bollywood Superstar \"Akshay Kumar\", Ileana D'Cruz";
var desc=JSON.stringify(mydesc);


var vkQuery = 'CREATE VERTEX post CONTENT {"id":'+ id+',"desc":'+ desc +'}'; 
var vkInsert = db.command("sql",vkQuery);


<https://lh3.googleusercontent.com/-G7yFIxDXzGU/V8QO1DmAbTI/AAAAAAAAAR8/2qL109JdVHk2ANZcGIwVvj6d_JVsj5F3QCLcB/s1600/Immagine.png>


Hope it helps.


Best regards,

Alessandro

-- 

--- 
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.

Reply via email to