upper
The upper method, within the String namespace, is a static function designed to convert a given string to uppercase.
It takes a single parameter, $parameter, representing the string that you want to convert to uppercase.
Example Usage
use sbamtr\LaravelQueryEnrich\QE;
use function sbamtr\LaravelQueryEnrich\c;
$books = Book::select(
'id',
QE::upper(c('title'))->as('title')
)->get();