Skip to content

Conversation

@Elexy
Copy link

@Elexy Elexy commented Dec 9, 2013

model.find { fb_id: orm.like(websiteId + '%') }, (err, websites) ->

wouldn't work because the passed expression only contains .exp and no val.
After removing .val it all started working again.

Added a commit to correct objects that do have a '.val'

dresende added a commit that referenced this pull request Dec 10, 2013
fixed bug on like expression using MongoDB
@dresende dresende merged commit 202a723 into dresende:master Dec 10, 2013
@vendethiel
Copy link

Is there a test for this? :)

@Elexy
Copy link
Author

Elexy commented Dec 10, 2013

@Nami-Doc good point, i will add one tmo.

@Elexy Elexy deleted the mongo_expr_bug branch December 10, 2013 23:42
@dxg dxg added this to the v2.1.4 milestone Feb 24, 2014
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.

4 participants