jvm MongoDB request DSL • opensavvy.ktmongo.dsl.aggregation.operators • StringValueOperators • uppercase uppercase¶ open fun <Context : Any> Value<Context, String?>.uppercase(): Value<Context, String?> Converts a string to uppercase, returning the result. If the argument resolves to null, $toUpper returns an empty string "". Example¶ class Document( val text: String, ) collection.aggregate() .set { Document::text set of(Document::text).uppercase() }.toList() External resources¶ Official documentation