Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Untitled

a guest Mar 31st, 2020 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const orm = require("../config/orm.js");
  2.  
  3. var burger = {
  4.     selectAll: function (cb) {
  5.         orm.selectAll("burgers", function (res) {
  6.             cb(res);
  7.         });
  8.     },
  9.     insertOne: function (columnInput, valueInput, cb) {
  10.         orm.insertOne("burgers", columnInput, valueInput, function (res) {
  11.             cb(res);
  12.         });
  13.     },
  14.     updateOne: function (columnInput, valueInput, conditionCol, conditionVal, cb) {
  15.         orm.insertOne("burgers", columnInput, valueInput, conditionCol, conditionVal, function (res) {
  16.             cb(res);
  17.         });
  18.     }
  19. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top