-
Notifications
You must be signed in to change notification settings - Fork 269
Closed
Description
Hi Guys,
I had an aggregation pipeline which worked in the old Mongo driver.
I saw that there is no change between the 2 drivers, however the pipeline is not returning data.
The 'match' stage includes MongoRegex which I've changed to 'MongoDB\BSON\Regex' and MongoDate in unix timestamp which I've change to MongoDB\BSON\UTCDateTime in milliseconds.
2 question:
- Does MongoDB\BSON\UTCDateTime needs to get time in milliseconds or can I send it php unix timestamp which is in seconds? I think it is currently only working with milliseconds.
- The most important one: Why does it my pipeline is not working. The same pipeline works in the old driver. BTW, When the result is returned I always see isDead=true.
I really need your help guys.
Metadata
Metadata
Assignees
Labels
No labels