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

include project specification in options passed to boss_db:find #188

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

Conversation

Navgeet
Copy link

@Navgeet Navgeet commented Jul 17, 2014

Have implemented projection support for mongodb adapter.
The feature can be used as:

boss_db:find(foo, [], [{project, [foo, bar]}]).

Please point out if something needs to be done in order to merge this.

Navgeet added 2 commits July 15, 2014 16:11
projection spec must be specified in bson format under a 'project' key.
eg: boss_db:find(foo, [], [{project, {foo, 1, bar, 1}}]).
eg: boss_db:find(foo, [], [{project, [foo, bar]}]).
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.

1 participant