W3cubDocs

/RethinkDB Ruby

ReQL command: downcase

Command syntax

string.downcase() → string

Description

Lowercases a string.

Example:

> r.expr("Sentence about LaTeX.").downcase().run(conn)
"sentence about latex."

Note: upcase and downcase only affect ASCII characters.

Related commands

Get more help

Couldn't find what you were looking for?

© RethinkDB contributors
Licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
https://rethinkdb.com/api/ruby/downcase/