Skip to content

Is lib/collection.js unused? #12138

Answered by vkarpov15
hasezoey asked this question in Q&A
Discussion options

You must be logged in to vote

lib/collection.js is used by lib/drivers/node-mongodb-native/collection.js. Collection is a base class that drivers inherit, like how in-memory-driver does.

PromiseProvider is also used, for example here:

const Promise = PromiseProvider.get();

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hasezoey
Comment options

hasezoey Jul 26, 2022
Collaborator Author

Answer selected by hasezoey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants