Advertisement
Guest User

Untitled

a guest
Sep 15th, 2014
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var laMiaQueryCypher = [
  2.    "CREATE (n :MiaLabel {nome: {IlMioNome} })",
  3.    "RETURN n"
  4. ].join("\n"); //laMiaQueryCypher รจ una stringa.
  5.  
  6. db.query(laMiaQueryCypher, {IlMioNome: "Alessandro"}, function(e,res){ ... });
  7.  
  8. /*
  9. Equivale ad eseguire
  10. "CREATE (n :MiaLabel {nome: "Alessandro"})\nRETURN n" nel GraphDB
  11. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement