Mongo adapter support for ID searches for 'in' and 'not_in' operators. #40

Merged
merged 1 commit into from Oct 4, 2012

Projects

None yet

2 participants

@fdevibe
fdevibe commented Oct 4, 2012

Searches like boss_db:find(foo, [{bar_id, 'in', [Baz, Zoot]}]) fail when Baz and Zoot are IDs, in which case they must be run through pack_id().

@evanmiller
Collaborator

Thanks!

@evanmiller evanmiller merged commit e2e86ba into ErlyORM:master Oct 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment