Jump to content

MongoDB find

Recommended Posts

Hello i'm a mongodb user and i'm testing a script. I'm sure that in the collection features there are json documents. But when I use the find function it gives me a null can someone help me please



$m= new Mongo();

echo '1++++++++++++';


$mongodb = $m->arraycghbase_mongo;

echo '2------------';


$features = $mongodb->features;


echo '3++++++++++';

$results = $features->find();


echo '4-----------';


Link to post
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.