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

cannot use class field name as parameter in Model._distinct() #85

Closed
greenlaw110 opened this issue Jun 13, 2012 · 0 comments
Closed

cannot use class field name as parameter in Model._distinct() #85

greenlaw110 opened this issue Jun 13, 2012 · 0 comments

Comments

@greenlaw110
Copy link
Collaborator

If a class field has been mapped into some short name in mongodb, it cannot use the field name as parameter in Model._distinct() call, instead one must use the mapped mongodb column name.

However in morphia query it is allowed to use both

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

No branches or pull requests

1 participant