Open vallieres opened 9 years ago
Hello,
I have a CouchDB instance (1.6.1) and I can retrieve some documents like so:
curl -X GET http://192.xxx.xxx.xxx:5984/elogbook15/_design/idx_question/_view/idx_question
I get :
{"total_rows":43,"offset":0,"rows":[ {"id":"483569a1030cd1394fa021e436011db3","key":["question","483569a1030cd1394fa021e436011db3"],"value":null}, ...
But when I do the following:
$chill = new \Chill\Client('192.xxx.xxx.xxx', 'elogbook15', 5984, 'http'); $docs = $chill->asDocuments()->getView('idx_question', 'idx_question'); print_r($docs);
I get the following:
Array ( [0] => [1] => [2] => [3] => [4] => [5] => [6] => [7] => [8] => [9] => [10] => [11] => [12] => [13] => [14] => [15] => [16] => [17] => [18] => [19] => [20] => [21] => [22] => [23] => [24] => [25] => [26] => [27] => [28] => [29] => [30] => [31] => [32] => [33] => [34] => [35] => [36] => [37] => [38] => [39] => [40] => [41] => [42] => )
The row number is right but they are all empty. Could it be that Chill is not compatible with recent CouchDB versions?
Seems to be on my side. My index does not return a value and the id column is not _id, but "id".
Hello,
I have a CouchDB instance (1.6.1) and I can retrieve some documents like so:
I get :
But when I do the following:
I get the following:
The row number is right but they are all empty. Could it be that Chill is not compatible with recent CouchDB versions?