Custom transcoder for n1ql in PHP


I’m aware that there is no way to use a custom transcoder for n1ql in PHP SDK at the moment. Is there a plan to support it in the future?

I think something like this would be nice to have.

$query = CouchbaseN1qlQuery::fromString("select * from ...");
$query->transcodeWith(function($result) {
    // do something on $result
    return $result; 

$results = $bucket->query($query);

Right now we don’t have such plans, but I will add it to backlog, thank you. What do you want to do in the transcoder?