Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-3466

$match with $gte ISODate fails

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

      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@mongodb.com Durran Jordan
            Reporter:
            fjones Frank Jones
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: