diff --git a/source/query/filter.txt b/source/query/filter.txt index b33843f06..ad565ca97 100644 --- a/source/query/filter.txt +++ b/source/query/filter.txt @@ -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: