Oihana PHP Arango

upper.php

Table of Contents

Functions

upper()  : string
Convert lowercase letters to uppercase.

Functions

upper()

Convert lowercase letters to uppercase.

upper(string $value) : string

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

Example AQL usage:

UPPER("hello world")           // returns "HELLO WORLD"
UPPER("123 abc")               // returns "123 ABC"
UPPER(doc.title)               // converts title to uppercase
Parameters
$value : string

String expression to convert to uppercase.

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

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

For converting to lowercase.

since
1.0.0
author

Marc Alcaraz

Return values
string

The formatted AQL expression.

On this page

Search results