MongoHybrid\Client::hget PHP Метод

hget() публичный Метод

Get the value of a hash field
public hget ( string $collection, string $key, string $field, mixed $default = null ) : mixed
$collection string
$key string
$field string
$default mixed
Результат mixed
    public function hget($collection, $key, $field, $default = null)
    {
        $set = $this->getKey($collection, $key, []);
        return isset($set[$field]) ? $set[$field] : $default;
    }