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

DATAMONGO-757 - Projections should follow mongodb conventions more preci... #76

Closed
wants to merge 1 commit into from

Conversation

thomasdarimont
Copy link

...sely.

Adjusted FieldProjection to generate an appropriate representation of included / excluded fields (namely :1 for included and :0 for excluded). Added an overloaded versions of FieldProjection.from(…) to be more flexible in assignment of values.


for (String fieldName : fieldNames) {
Assert
.isTrue(
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

…ecisely.

Adjusted FieldProjection to generate an appropriate representation of included / excluded fields (namely :1 for included and :0 for excluded). Added an overloaded versions of FieldProjection.from(…) to be more flexible in assignment of values.
thomasdarimont pushed a commit that referenced this pull request Sep 27, 2013
…aults.

Adjusted FieldProjection to generate an appropriate representation of included / excluded fields (namely :1 for included and :0 for excluded).
Polished guards to handle only _id is allowed to be excluded (DATAMONGO-758).

Original pull request: #76.
thomasdarimont pushed a commit that referenced this pull request Sep 27, 2013
…aults.

Adjusted FieldProjection to generate an appropriate representation of included / excluded fields (namely :1 for included and :0 for excluded).
Polished guards to handle only _id is allowed to be excluded (DATAMONGO-758).

Original pull request: #76.
@odrotbohm odrotbohm closed this Sep 27, 2013
thomasdarimont pushed a commit that referenced this pull request Sep 27, 2013
…aults.

Adjusted FieldProjection to generate an appropriate representation of included / excluded fields (namely :1 for included and :0 for excluded).
Polished guards to handle only _id is allowed to be excluded (DATAMONGO-758).

Original pull request: #76.
thomasdarimont pushed a commit that referenced this pull request Sep 27, 2013
…aults.

Adjusted FieldProjection to generate an appropriate representation of included / excluded fields (namely :1 for included and :0 for excluded).
Polished guards to handle only _id is allowed to be excluded (DATAMONGO-758).

Original pull request: #76.
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.

None yet

2 participants