0
我正在使用'PHP On Couch'插件通过php访问couchDB。而且我不知道如何 多个附件添加到Couchdb多个附件
$client = new couchClient($couch_dsn,$couch_db);
$doc = $client->getDoc('meantime');
$res1 = $client->storeAttachment($doc,'files/file1.html','text/html', 'file1.html');
$res2 = $client->storeAttachment($doc,'files/file2.html','text/html', 'file2.html');
只有一个附件被绑定到文档,但不是第二个文档?