Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-996

Terms used in the drivers, packets and docs are not consistent

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Incomplete
    • Icon: Major - P3 Major - P3
    • None
    • 1.5.0
    • Usability
    • None

    Description

      The same thing is used with a different name in several places.
      For example, the js API uses sort while the OPT_QUERY packet uses orderby:
      db.users.find({}).sort(

      {last_name: 1}

      );
      {$query :

      {x:1}

      , $orderby : {last_name: 1}}

      skip / offset / numberToSkip
      limit / numberToReturn

      It is important to use the same name everywhere and usually just use the official term from SQL or map reduce.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pablo pablo platt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: