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