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

Update function used to create collections #29

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update function used to create collections #29

wants to merge 2 commits into from

Conversation

DundieWinner
Copy link

The collections() function was tripping an error each time I called it with the purpose of creating a collection. Replacing it with the createCollection() function solves the issue.

Jared added 2 commits March 26, 2017 19:33
Update the collection() function to the createCollection() function.
Update the collection() function to createCollection()
@DundieWinner
Copy link
Author

This answers #28

@marcwan
Copy link
Owner

marcwan commented Apr 21, 2017

Hi @JavaJared !!

So, I looked through this today, and the code works fine as is — it does, however, use the mongodb: "2.x" module instead of the newer 3.x module.

How exactly are you seeing this problem?

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.

2 participants