ExportXMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The following should work:

      [{$match: {$and: [{x: {$type: 'number'}}, 
                                     {x: {$not: {$type: 'array'}}}]}},

      {$set: {a: '$x'}}]

      The type of 'x' is number. We should report that the type of 'a' is number too!

            Assignee:
            Henri Nikku
            Reporter:
            Vesko Karaganev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: