Advertisement
Guest User

Untitled

a guest
Feb 24th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. pgPromise.db.oneOrNone('delete from table where id = ($1)', [1])
  2. .then(function(result) {
  3. console.log(result);
  4. }).catch(function(error){
  5. console.log(error);
  6. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement