[SERVER-33598] Add remaining bool conversions to $convert Created: 01/Mar/18  Updated: 29/Oct/23  Resolved: 06/Mar/18

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: 3.7.3

Type: Bug Priority: Major - P3
Reporter: Justin Seyster Assignee: Justin Seyster
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by DOCS-11386 Add $convert with support for typecas... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Query 2018-03-12
Participants:

 Description   

Inputs with the following type should all be legal to convert to bool (always resulting in true): objectId, minKey, binData, regex, dbPointer, javascript, javscriptWithScope, symbol, timestamp, maxKey, BSONObject, BSONArray.



 Comments   
Comment by Githook User [ 06/Mar/18 ]

Author:

{'email': 'justin.seyster@mongodb.com', 'name': 'Justin Seyster', 'username': 'jseyster'}

Message: SERVER-33598 Don't be a fool; convert your bool.

I overhead the above phrase being spoken in reference to a completely
different project, but I thought it captured the spirit of this commit
perfectly, so I shamelessly stole it.
Branch: master
https://github.com/mongodb/mongo/commit/02b3f51e5a7e505b9dd6ebccc2c7632259767661

Generated at Thu Feb 08 04:33:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.