Documentation

strings.toLower() function

The strings.toLower() function converts a string to lowercase.

Output data type: String

import "strings"

strings.toLower(v: "KOALA")

// returns "koala"

Parameters

v

The string value to convert.

Data type: String

Examples

Convert all values of a column to lower case
import "strings"

data
  |> map(fn: (r) => ({
      r with exclamation: strings.toLower(v: r.exclamation)
    })
  )

New! Cloud or OSS?

InfluxDB OSS 2.0 now generally available!

InfluxDB OSS 2.0 is now generally available and ready for production use. See the InfluxDB OSS 2.0 release notes.

For information about upgrading to InfluxDB OSS 2.0, see: