i using php client couchbase
$cluster = new couchbasecluster(127.0.0.1); $bucket = $cluster->openbucket('default'); $doc = $uds->get(array('key1','key2'));
in case $doc of type couchbasemetadoc class. need process each $doc fetched using callback function.
as per old (1.2.0) api documentation support missing objects passed 1 of $options array in new client version (2.1.0)
i'm not entirely clear on you're looking for, seems old callback isn't there @ in 2.x client. i'm not sure you're referring in last sentence.
the original 1.2 api mirrored pecl-memcached api. callback though not correct , building pecl extension correct isn't possible because many things in scope lost time callback executed. since wasn't correct , shouldn't done, dropped going in 2.x.
if want process each document, that's best done in context of request. there might framework can give asynchronous behavior you're looking php not allow extension that.
the options
many of k-v methods are documented per method , it's expiry.
Comments
Post a Comment