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

Update Mongoose docs for getters setting parameters on $locals and the populate method transform option

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • 1

    Description

      Update Mongoose getters docs (https://mongoosejs.com/docs/tutorials/getters-setters.html) about setting parameters on $locals. Mongoose populate docs (https://mongoosejs.com/docs/populate.html) also need info on the transform option.

      The purpose of this docs update is to deflect customer support cases for how to do custom projections in Mongoose when using the populate method.

      Attachments

        Activity

          People

            Unassigned Unassigned
            scott.kurowski@mongodb.com Scott Kurowski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 11 weeks, 1 day ago