$toUpper Operator in MongoDB
The $toUpper Operator in MongoDB is used in the aggregation pipeline stages to convert a string to uppercase and return the result.
It can also be used on non-string fields if they can be converted to a string but Its behavior for non-ASCII characters may not be as expected.
MongoDB $toUpper Operator
MongoDB $toUpper operator converts the given string to uppercase.
Contact Us