Reference

Guide

$user->query()

Creates a string query, starting from the model

$user->query(string $query = null, string $expect = null): mixed

Parameters

Name Type Default Description
$query string null
$expect string null

Return type

mixed

Source code

kirby/src/Cms/User.php#L549