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

Enable multiple value index for collection #18

Merged
merged 1 commit into from
Aug 11, 2014

Conversation

sherzberg
Copy link
Contributor

pymongo supports ensure_index(key_or_list) where list can be [('key1',
direction,), ('key2', direction),]. This patch will allow scrapy-mongodb
to properly handle upserts when MONGODB_UNIQUE_KEY is a list of tuples

pymongo supports ensure_index(key_or_list) where list can be [('key1',
direction,), ('key2', direction),]. This patch will allow scrapy-mongodb
to properly handle upserts when MONGODB_UNIQUE_KEY is a list of tuples
@sebdah
Copy link
Owner

sebdah commented Aug 10, 2014

Thank you for the pull request @sherzberg. I will take a closer look on this tomorrow!

@sebdah sebdah self-assigned this Aug 10, 2014
@sebdah sebdah changed the title enable multiple value index for collection Enable multiple value index for collection Aug 11, 2014
@sebdah sebdah merged commit 4205a04 into sebdah:master Aug 11, 2014
@sebdah sebdah added this to the 0.7.x milestone Aug 11, 2014
@sebdah
Copy link
Owner

sebdah commented Aug 11, 2014

Thanks again for the PR. It looks good and I have merged it and released it in version 0.7.2.

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

Successfully merging this pull request may close these issues.

None yet

2 participants