Skip to content

Instantly share code, notes, and snippets.

@atakangah
Created July 12, 2020 12:18
Show Gist options
  • Save atakangah/a18792722d7a840f146f603f0fe6964e to your computer and use it in GitHub Desktop.
Save atakangah/a18792722d7a840f146f603f0fe6964e to your computer and use it in GitHub Desktop.
Shows debugging database calls
//Update new system status
let updateResult = await System.updateOne({ 'systemId': SYSTEM_ID }, system[0], { upsert: true }).exec();
console.log('Update Result:', updateResult);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment