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

convertShardKeyToHashed page should say something about result type

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor - P4 Minor - P4
    • Server_Docs_20231030
    • None
    • manual
    • None

    Description

      Description

      Page: https://docs.mongodb.com/manual/reference/method/convertShardKeyToHashed/

      At the bottom of the page there is an example of called convertShardKeyToHashed but which doesn't show the value returned (I believe it would be `NumberLong("2523394966799057167")` ).

      It would be good to say something like:

      "The result of this function are signed 64-bit values returned as a BSON "long"".

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Activity

          People

            Unassigned Unassigned
            nicholas.cottrell@mongodb.com Nic Cottrell
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              1 year, 14 weeks, 2 days ago