daily pastebin goal
33%
SHARE
TWEET

Untitled

a guest Sep 23rd, 2016 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var doc = {
  2.   local: {
  3.     username: 'admin',
  4.     status: true,
  5.     password: '$2a$08$81Kq7/59ZASHl5k9n5cNvOUSl/HYgpLKZjs66P/OJV8vw.nHW60Ta',
  6.     lastname: 'admin',
  7.     firstname: 'admin',
  8.     email: 'admin@gmail.com',
  9.     datetime_modified: 'TueAug30201623: 10: 56GMT+0530(IST)',
  10.     datetime_created: 'MonAug29201622: 34: 12GMT+0530(IST)'
  11.   },
  12.   roles: [
  13.     'ADMIN',
  14.     'HR'
  15.   ],
  16.   GridOrder: [
  17.     {
  18.       _id: '57e507fce94094be085425c9',
  19.       domainName: 'items'
  20.     }
  21.   ],
  22.   _id: '57c46b0c12907af910167ff5',
  23.   __v: 9
  24. }
  25.    
  26. delete doc.GridOrder
  27.    
  28. delete doc['GridOrder']
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