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

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

Set the string value of a hash field
public hset ( string $collection, string $key, string $field, mixed $value )
$collection string
$key string
$field string
$value mixed
    public function hset($collection, $key, $field, $value)
    {
        $set = $this->getKey($collection, $key, []);
        $set[$field] = $value;
        $this->setKey($collection, $key, $set);
    }