Hi,
you could use

var vkQuery = "CREATE VERTEX post CONTENT { 'thumbnail' : '" + 
vkString.thumbnail 
+"','comments' : '"+ vkString.comments + "','origin' : '"+vkString.origin +
"','";


vkQuery = vkQuery + "userFullName' : '"+ vkString.userFullName +"','title' 
: '"+ vkString.title +"','userId' : '"+ vkString.userId +"',";


vkQuery = vkQuery + "'userPhotoUrl' : '"+ vkString.userPhotoUrl +"','_id' : 
'"+vkString._id+"','desc' : '"+vkString.desc +"'}"; 


var vkInsert = db.command("sql",vkQuery);

Hope it helps,
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