Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-7624

Comment on: "manual/reference/sql-comparison.txt"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • manual

    Description

      Hi team,

      I think there is a problem with the below description.
      MongoDB query
      db.users.find(
      { },

      { user_id: 1, status: 1 }

      ) should translate to SQL query like
      SELECT
      user_id,
      status
      FROM users

      The description on the reference page says like below:
      SELECT id,
      user_id,
      status
      FROM users

      I dont understand why id is included in the select clause. Please clarify

      Attachments

        Activity

          People

            ravind.kumar Ravind Kumar (Inactive)
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 44 weeks, 1 day ago