You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hm, these are supported natively by mongodb aren't they? So (as far as i'm using multiple types of databases for my projects) is there any other way to fetch records using 'wildcards'? Something which would work with most of database engines?
Something is wrong with 'where' when passing regex there, for example:
It will not work - it does not work when i'm trying. BUT, when i'll hardcode the same condition inside of the helper function:
It works! I was trying to debug it, with console.dir/log and everything was fine in console output, 'foo' looks exactly like 'opts.where':
I have no idea what is going on there, so i'm reporting it as issue ;-)
PS. as You can see i'm using coffeescript in my controllers, and mongoose db adapter, so perhaps it is (in some weird way) related?
The text was updated successfully, but these errors were encountered: