[JAVA-617] Don't understand the difference between these queries: Created: 06/Aug/12 Updated: 11/Sep/19 Resolved: 06/Aug/12 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Bruce Rex | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Win7 |
||
| Description |
|
given this SQL query: why does this work: cur = coll.find(condQry, fldsQry); but this does not: ?? |
| Comments |
| Comment by Bruce Rex [ 06/Aug/12 ] |
|
Thanks. |
| Comment by Jeffrey Yemin [ 06/Aug/12 ] |
|
That's just how the API works. The query portion and the fields portion have to be two different documents. |