Skip to content

req.db connected to parsed db_name#1

Open
roman-sh wants to merge 11 commits intotitanscouting:masterfrom
roman-sh:master
Open

req.db connected to parsed db_name#1
roman-sh wants to merge 11 commits intotitanscouting:masterfrom
roman-sh:master

Conversation

@roman-sh
Copy link

@roman-sh roman-sh commented Oct 7, 2021

req.db is now connected to db_name, so there is no need to call req.db.db('db_name') in order to use collection method:
req.db.collection('users').insertOne({ email, password })

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants