Skip to content

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

Open
Navgeet wants to merge 2 commits intoErlyORM:masterfrom
Navgeet:projection
Open

include project specification in options passed to boss_db:find#188
Navgeet wants to merge 2 commits intoErlyORM:masterfrom
Navgeet:projection

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