public static function oneValue($query, $parameters = [], $errorHandler = null)
    {
        // get the first record
        $record = static::oneRecord($query, $parameters, $errorHandler);

        if ($record) {
            // return first value of the record
            return array_shift($record);
        } else {
            return false;
        }
    }