Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection#getClient and setClient for interacting with connection’s underlying MongoClient instance #9164

Closed
DExcalibur opened this issue Jun 22, 2020 · 1 comment
Milestone

Comments

@DExcalibur
Copy link

Do you want to request a feature or report a bug?
query (sorry, i was unable to find any community related to mongoosejs)

What is the current behavior?
N/A

If the current behavior is a bug, please provide the steps to reproduce.
N/A

What is the expected behavior?
N/A

What are the versions of Node.js, Mongoose and MongoDB you are using? Note that "latest" is not a version.
node.js = 7.8.0
mongodb = 3.4.14
mongoose = 5.9.19

i want reuse connection created by code mongodb library mongodb into mongoosejs library mongoosejs. how to achieve that. please let me know.

@DExcalibur DExcalibur changed the title How to use connection created by Core mongodb library into mongoose? How to use connection created by core mongodb library into mongoose? Jun 23, 2020
@DExcalibur DExcalibur changed the title How to use connection created by core mongodb library into mongoose? Question : How to use connection created by core mongodb library into mongoose? Jun 25, 2020
@vkarpov15
Copy link
Collaborator

We do not currently support that, although that would be a great feature to add. Thank you for the suggestion.

@vkarpov15 vkarpov15 added this to the 5.10 milestone Jun 25, 2020
@vkarpov15 vkarpov15 changed the title Question : How to use connection created by core mongodb library into mongoose? Connection#getClient and setClient for interacting with connection’s underlying MongoClient instance Aug 12, 2020
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

No branches or pull requests

3 participants