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

$ifNull not working as expected

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • 3.6.6
    • manual
    • Development

    Description

      Description

      'ifNull' operator in aggregate is giving us two outcomes for a boolean sub value. Our query works for a sub object key which may not exist or may have a Boolean value.

      When the key does not exist the project pipeline works fine ,but when the key has a Boolean value we get two different outcomes.

      For a false value the query assigns a value which is different when the value is true based on what we give in the project if else condition.

      We were expecting it would give the same value be it true or false.

       

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            clifford.pereira@flexiloans.com Clifford Pereira
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

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