$in needs an array
这怎么解决,搞了老旧不理解
// 记录执行指令
$this->queryStr = 'db' . strstr($namespace, '.') . '.' . $this->queryStr;
}
$this->debug(true);
echo '-'.json_encode($namespace).'<br/>';
echo '-'.json_encode($bulk).'<br/>';
echo '-'.json_encode($writeConcern).'<br/>';
$writeResult = $this->mongo->executeBulkWrite($namespace, $bulk, $writeConcern);
$this->debug(false);
$this->numRows = $writeResult->getMatchedCount();
return $writeResult;
}
/**
* 数据库日志记录(仅供参考)
* @access public
* @param string $type 类型
$writeResult = $this->mongo->executeBulkWrite($namespace, $bulk, $writeConcern); 这行报错 最佳答案
