$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);
如何在php中打印mongodb变量?
答案 0 :(得分:0)
var_dump()
永远是你的朋友。