Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
Description
Documentation Request Summary:
$dataFromString now has "onError" and "onNull" options (similar to new $convert expression)
Docs -> See onError and onError description in: https://docs.mongodb.com/master/reference/operator/aggregation/convert/#exp._S_convert
Engineering Ticket Description:
Since not all strings will successfully parse to legal ISODate, it would help if $dateFromString accepted an option for default value to return on error.
Scope of changes:
Impact to other docs outside of this product:
MVP:
Resources:
Attachments
Issue Links
- documents
-
SERVER-32736 Add "onError" and "onNull" options to $dateFromString
-
- Closed
-