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

specify a second use case for $literal

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v1.3.3
    • Component/s: manual
    • Last comment by Customer:
      true
    • Actual Time:
      4

      Description

      can use $literal in $project to specify a new field with the value 1

      as opposed to

      { somefield: 1 }

      == which is to return a somefield

        Attachments

          Activity

            People

            Assignee:
            kay.kim Kay Kim (Inactive)
            Reporter:
            kay.kim Kay Kim (Inactive)
            Participants:
            Last commenter:
            Jonathan Dahl Jonathan Dahl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since reply:
              7 years, 30 weeks ago
              Date of 1st Reply: