开发者

mongodb in codeigniter, debug problem

开发者 https://www.devze.com 2023-03-24 17:56 出处:网络
in some_code.php $query = new MongoCode(\' function (index, val开发者_StackOverflowue){ .... // I need to check some value of some_variable in here

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

精彩评论

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