开发者

mongodb in codeigniter, debug problem

in some_code.php


$query = new MongoCode('
    function (index, val开发者_StackOverflowue){
        .... 
         // I need to check some value of some_variable in here
         // etc ) some_variable = 1 or "abc"
        ....
    }
');
$run = $this->db->command($query);

How could I print mongodb variables in php?


var_dump() is always your friend.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜