node-restful icon indicating copy to clipboard operation
node-restful copied to clipboard

__regex issue

Open priyanka-sc opened this issue 8 years ago • 3 comments

/users?username__regex=/^baugarten/i

I am using this example for fetching fields with a particular expression. This is working fine on my local. But when i try to access it on server, it does'nt work. What can be the reason for that?

Thanks

priyanka-sc avatar Mar 16 '16 12:03 priyanka-sc

Hi, Could you check if the MongoDB version in your local machine and server machine are same. This might be the issue.

msravi16 avatar Mar 16 '16 12:03 msravi16

No they are different. On local its 3.2 and server its 2.6. I will upgrade and check if that works.

priyanka-sc avatar Mar 17 '16 07:03 priyanka-sc

Did it work? If so then the team can close this issue.

jump3r34 avatar Apr 08 '16 03:04 jump3r34