daily pastebin goal
46%
SHARE
TWEET

Untitled

a guest Aug 12th, 2017 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import { getDbInstance } from './mongUtil';
  2.  
  3. let db;
  4.  
  5. async function main() {
  6.   db = await getDbInstance();
  7.   // ... rest of your code here
  8. }
  9.  
  10. main();
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