Dropped MongoDB support

There wasn't much to drop as it was never fully integrated. Unfortunately the only things that end up being fully integrated are the things that I actually use. Maybe someday MongoDB, maybe someday.
This commit is contained in:
Josh Sherman 2012-10-11 17:35:02 -04:00
parent e14e848f77
commit 252ad2fe7b
2 changed files with 0 additions and 36 deletions

View file

@ -132,18 +132,6 @@ class Model extends Object
*/
protected $id = 'id'; // WHERE ___ = ?
/**
* Collection Name
*
* For compatibility with the naming conventions used by MongoDB, the
* collection name can be specified. If the collection name is set, it will
* set the table name value to it and proceed as normal.
*
* @access protected
* @var mixed
*/
protected $collection = false;
/**
* Joins
*
@ -372,12 +360,6 @@ class Model extends Object
$this->loadParameters(array($this->id => $parameters));
}
// Overwrites the table name with the available collection name
if ($this->collection != false)
{
$this->table = $this->collection;
}
// Starts with a basic SELECT ... FROM
$this->sql = array(
'SELECT ' . (is_array($this->fields) ? implode(', ', $this->fields) : $this->fields),