[SERVER-111] $where clause returns no results when it starts with a newline Created: 19/Jun/09 Updated: 12/Jul/16 Resolved: 19/Jun/09 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript |
| Affects Version/s: | None |
| Fix Version/s: | 0.9.5 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Michael Dirolf | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
situation jeff ran into: doing a where clause that starts with a newline db.test.find().where(""" returns no results even when the almost equivalent case db.test.find().where("""this.x < 2 || does. |