private$selects=array(); public$wheres=array();// Public to make debugging easier private$sorts=array();
private$limit=999999; private$offset=0;
/**
* --------------------------------------------------------------------------------
* CONSTRUCTOR
* --------------------------------------------------------------------------------
*
* Automatically check if the Mongo PECL extension has been installed/enabled.
* Generate the connection string and establish a connection to the MongoDB.
*/
publicfunction __construct() { //session_start(); if(!class_exists('Mongo')) {
show_error("The MongoDB PECL extension has not been installed or enabled",500); }