public function incr($id)
    {
        $params = [':id' => $id];
        $statement = 'UPDATE kv_store SET kv_value = kv_value + 1 WHERE kv_id = :id';
        return $this->sqlPeristence->exec($statement, $params);
    }
public function incr($id)
    {
        $params = [':id' => $id];
        $statement = 'UPDATE kv_store SET kv_value = kv_value + 1 WHERE kv_id = :id';
        return $this->sqlPeristence->exec($statement, $params);
    }
public function incr ( $ id ) { $ params = [ ':id' => $ id ] ; $ statement = 'UPDATE kv_store SET kv_value = kv_value + 1 WHERE kv_id = :id' ; return $ this -> sqlPeristence -> exec ( $ statement , $ params ) ; }
Increment existing value
@param string $id
@return mixed
Increment existing value