Skip to content
Snippets Groups Projects
Commit 298498fa authored by Mauricio Giacomini Girardello's avatar Mauricio Giacomini Girardello
Browse files

fixing orientdb query

parent 68165e55
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ module OrientDb
end
def destroy_graph_node(user)
connection.command sprintf("destroy vertex User WHERE p_id = %d", user.id)
connection.command sprintf("delete vertex User WHERE p_id = %d", user.id)
end
def get_graph_id(user)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment