You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.
New version is up. Lots of bug fixes! Just be aware that $_dbName and $_collectionName have been renamed to $_db and $_collection. As well as $_requirements has now become a static property.
Hi!
I write this code:
class Application_Model_User extends Shanty_Mongo_Document
{
protected static $_dbName = 'fin';
protected static $_collectionName = 'user';
}
And this:
$amount = $this->user->once->new();
$amount->name = 'blah-blah';
$amount->save();
When I execute this code i have an error:
"Shanty_Mongo_Document::$_dbName is null."
The text was updated successfully, but these errors were encountered: