Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
2.4.0
-
None
-
1
Description
Currently, the lookupIn function takes only one value for the document key. Could we have bulk operations on subdocuments like we have for regular document operations?
Currently, the below operation works:
$res = $bucket->lookupIn("airline_10123")
|
->get("name")
|
->execute();
|
We are looking for something similar to the below, where we can pass an array of keys to the lookupIn function.
$res = $bucket->lookupIn("airline_10","airline_10123","airline_10226")
|
->get("name")
|
->execute();
|
which returns the below error currently:
PHP Warning: Couchbase\Bucket::lookupIn() expects exactly 1 parameter, 3 given in /vagrant/test.php on line 16
|
PHP Fatal error: Call to a member function get() on a non-object in /vagrant/test.php on line 17
|