UPPER

Converts a string to all uppercase letters.

This function corresponds to the upper(X) function in SQLite. It takes a string value and returns a new string with all lowercase ASCII characters converted to their uppercase equivalents. The behavior for non-ASCII characters is dependent on the SQLite version and build options (e.g., if ICU is enabled).

If the input is not a string, it is first coerced into one. A NULL input results in a NULL output.

Example

// SELECT upper(productName) FROM Products
val upperCaseName = select(UPPER(Products.productName)).from(Products)

Return

A KQLiteColumn of type String containing the uppercase version of the string.

Author

MOHAMMAD AZIM ANSARI

Parameters

column

The column containing the string to be converted to uppercase.

See also