Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pgPromise.db.oneOrNone('delete from table where id = ($1)', [1])
- .then(function(result) {
- console.log(result);
- }).catch(function(error){
- console.log(error);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement