new codeigniter mongoDB library |
[eluser]vesparny[/eluser]
Hi zacksyah, the php mongoDb driver doesn't allow that, there is no list_fields() method. Maybe because in mongo you can have subobjects... you can use array_keys http://php.net/manual/en/function.array-keys.php. If you want you can send me a pull req on github... let me know |
Messages In This Thread |
new codeigniter mongoDB library - by El Forum - 02-19-2012, 12:30 PM
new codeigniter mongoDB library - by El Forum - 02-21-2012, 03:26 PM
new codeigniter mongoDB library - by El Forum - 04-02-2012, 07:52 PM
new codeigniter mongoDB library - by El Forum - 04-03-2012, 06:56 AM
new codeigniter mongoDB library - by El Forum - 04-03-2012, 04:12 PM
new codeigniter mongoDB library - by El Forum - 04-04-2012, 05:57 AM
new codeigniter mongoDB library - by El Forum - 04-05-2012, 05:00 AM
new codeigniter mongoDB library - by El Forum - 04-05-2012, 05:47 AM
new codeigniter mongoDB library - by El Forum - 04-08-2012, 08:53 PM
new codeigniter mongoDB library - by El Forum - 04-29-2012, 12:01 AM
|