Changes to mongosh code to support better snippets

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Do
    • Priority: 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
            Reporter:
            Le Roux Bodenstein
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: