Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1417

Changes to mongosh code to support better snippets

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: snippets
    • None
    • Not Needed

      tsToSeconds method should use getter methods for Timestamp properties example getTime and getInc. Make them available in a way that is easy to override in the snippets(if interested see one such change in the snippet here). This change will help one better support the Timestamp compatibility changes in snippets like mongocompat.

      (see the linked HELP ticket for more context)

            Assignee:
            gaurab.aryal@mongodb.com Gaurab Aryal
            Reporter:
            leroux.bodenstein@mongodb.com Le Roux Bodenstein
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: