[DOCS-10530] Comment on: "manual/reference/sql-comparison" Created: 14/Jul/17 Updated: 30/Oct/23 Resolved: 26/Jul/18 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual, Server |
| Affects Version/s: | None |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Docs Collector User (Inactive) | Assignee: | Unassigned |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | collector-298ba4e7, docs-triage | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows 10 x64, Chrome Version 59.0.3071.115 (Official Build) (64-bit) Location: https://docs.mongodb.com/manual/reference/sql-comparison/ |
||
| Participants: | |
| Days since reply: | 5 years, 29 weeks ago |
| Description |
|
Page Error: Typo Section: Comparing SQL Statements to MongoDB find() Statements Issue: The MongoDB find() examples for "SELECT id, user_id, status" and "SELECT user_id, status" are swapped in the table. From the Page:
Compares to:
Where it should compare to:
Likewise:
Is compared to:
and should be compared to:
|
| Comments |
| Comment by Kay Kim (Inactive) [ 26/Jul/18 ] |
|
by default, the _id field is always returned. So, a projection document of { user_id:1, status: 1 } returns user_id, status, and _id returns only user_id and status. |