1
在some_code.php的MongoDB在笨,調試問題
$query = new MongoCode('
function (index, value){
....
// I need to check some value of some_variable in here
// etc) some_variable = 1 or "abc"
....
}
');
$run = $this->db->command($query);
我怎麼能打印MongoDB的變量是在PHP?