Skip to content

Commit

Permalink
Fix extra bracket in save.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
Admin authored and Admin committed Jul 30, 2013
1 parent 500944c commit 82dd337
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion save.sql
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ BOOLEAN AS $$
var update = plv8.prepare("UPDATE col_" + collection + " SET data = $1 WHERE col_" + collection + "_id = $2", [ 'json', 'character varying' ]);
res = update.execute([ data, id ]);
}
}
}

if (res == 0) { // If it didnt affect anything, it must be a new row. Insert.
Expand Down

0 comments on commit 82dd337

Please sign in to comment.