Skip to content

Commit 4943a55

Browse files
committed
DOCSP-42957: DateTimeInterface in queries
1 parent 6507279 commit 4943a55

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/upgrade.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ This library version introduces the following breaking changes:
8989
of this behavior, you cannot have two separate ``id`` and ``_id`` fields in your
9090
documents.
9191

92+
- When using a ``DateTimeInterface`` object in a query, the library converts
93+
the ``DateTimeInterface`` to a ``MongoDB\BSON\UTCDateTime`` object.
94+
9295
.. _laravel-breaking-changes-v4.x:
9396

9497
Version 4.x Breaking Changes

0 commit comments

Comments
 (0)