Skip to content

Join style queries for dict, set, list, and embedded fields#177

Closed
Molanda wants to merge 5 commits intodjango-nonrel:mongodb-engine-1.5-betafrom
Molanda:mongodb-engine-1.5-beta
Closed

Join style queries for dict, set, list, and embedded fields#177
Molanda wants to merge 5 commits intodjango-nonrel:mongodb-engine-1.5-betafrom
Molanda:mongodb-engine-1.5-beta

Conversation

@Molanda
Copy link
Copy Markdown

@Molanda Molanda commented Nov 27, 2013

This change adds the ability to query (get, filter, exclude) on DictField, SetField, ListField, and EmbeddedModelField using join style syntax.

For example...

MyModel.objects.filter(myfield__one__two__exact='something').exclude(myfield__three='something')

Which would filter on myfield.one.two and exclude myfield.three in MongoDB.

@Molanda Molanda closed this Dec 2, 2013
@kynan
Copy link
Copy Markdown

kynan commented Dec 2, 2013

Resubmitted as #178.

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