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

Allow items to determine their collection #45

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

Conversation

patrick-yi-82
Copy link

Example :
Set configuration

MONGODB_COLLECTION = 'my_items'
MONGODB_ITEM_COLLECTION="item_collection"

Item 1 : This item will go to the default collection my_items
{ "name":"John", "age":30}

Item 2 : This item will go to the collection teenager
{ "name":"Jane", "age":18, "item_collection": "teenager"}

@steve-bate
Copy link

👍 Why wasn't this ever merged?

@sebdah
Copy link
Owner

sebdah commented Nov 13, 2020

@steve-bate Not sure tbh. If you'd like to code review it I'll merge and ship 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.

4 participants