Oihana PHP Arango

lower.php

Table of Contents

Functions

lower()  : string
Convert uppercase letters to lowercase.

Functions

lower()

Convert uppercase letters to lowercase.

lower(string $value) : string

This helper wraps the ArangoDB AQL function LOWER(value) which converts all uppercase letters in a string to their lowercase counterparts while leaving all other characters unchanged.

Example AQL usage:

LOWER("Hello World")           // returns "hello world"
LOWER("123 ABC")               // returns "123 abc"
LOWER(doc.title)               // converts title to lowercase
Parameters
$value : string

String expression to convert to lowercase.

Tags
example
use function oihana\arango\db\functions\strings\lower;

$expr = lower('doc.title');
// Produces: 'LOWER(doc.title)'
see
https://docs.arangodb.com/stable/aql/functions/string/#lower
upper()

For converting to uppercase.

since
1.0.0
author

Marc Alcaraz

Return values
string

The formatted AQL expression.

On this page

Search results