coen-hyde/Shanty-Mongo — Issue #48: Collection all() failing
Author: zapatista
Created: 2011-10-29 13:06:36+00:00
State: open

class Application_Model_Db_Table_Post extends Shanty_Mongo_Document
{
protected static $_db = 'holemp';
protected static $_collection = 'user';
}

$user = Application_Model_Db_Table_Post::all();

why not work on me ?

output:
Shanty_Mongo_Iterator_Cursor Object
(
[_cursor:protected] => MongoCursor Object
(
)

[_config:protected] => Array
(
[connectionGroup] => default
[db] => holemp
[collection] => user
[documentClass] => Application_Model_Db_Table_Post
[documentSetClass] => Shanty_Mongo_DocumentSet
)

)