When you look in google for pecl php couchbase you end up here :
but afaik this the old SDK and
https://github.com/couchbaselabs/php-couchbase is the one that should be used?
Can’t there be a link on top of the old one to the new one to avoid confusion?
Also in the current documentation it states that for using persistent connections in couchbase you should use :
PHP: Persistent connections for PHP clients are actually persistent memory that we use across multiple requests in a PHP process. Typically you use one PHP process per system process. The web server that is currently in use in your system will determine this. To configure the PHP SDK to maintain a persistent connection you would use these parameters in your connection:
$cb = new Couchbase(“192.168.1.200:8091”, “default”, “”, “default”, true);
But this doesn’t work anymore with the new Couchbasecluster,
how to achieve it there?
I also find it a bit confusing on how to use the options on CouchbaseViewQuery,
need to manually look in to the code on the stub classes,
shouldn’t the group_level function also return $this?
The classes for managing views from out php were a bit trial & error to find out the right options too.