Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { getDbInstance } from './mongUtil';
- let db;
- async function main() {
- db = await getDbInstance();
- // ... rest of your code here
- }
- main();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement