Skip to content

Commit

Permalink
DOCSP-33792 match by date error (#575)
Browse files Browse the repository at this point in the history
  • Loading branch information
ltran-mdb2 authored Nov 6, 2023
1 parent ac79ff8 commit c3e7a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/query/filter.txt
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ field value is later than June 22nd, 2000:

.. code-block:: shell

{ dateCreated: { $gt: Date('2000-06-22') } }
{ dateCreated: { $gt: new Date('2000-06-22') } }

The query returns the following documents:

Expand Down

0 comments on commit c3e7a39

Please sign in to comment.