$match with $gte ISODate fails

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.17.0
    • Affects Version/s: 1.16.4
    • Component/s: Compass
    • None
    • Environment:
      Windows 10
    • Iteration Yuca
    • None
    • None

      With the following $match statement;

      {
        code: 'test',
        owner: ObjectId('5c6cc364cadec30a2b082cef'),
        tradedate: {
          $gte: ISODate('2015-12-21')
        }
      }

      an error "Expected end of input but "}" found." is presented.

      In MongoDB CLI, an aggregate with the same $match condition preduces correct results.

            Assignee:
            Durran Jordan
            Reporter:
            Frank Jones
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: