/**
  * Sets up the class and creates functions for SQLite databases
  * 
  * @param  fDatabase $database    The database being translated for
  * @param  mixed     $connection  The connection resource or PDO object
  * @return fSQLTranslation
  */
 public function __construct($database)
 {
     $this->database = $database;
     $this->database->inject($this);
     if ($database->getType() == 'sqlite') {
         $this->createSQLiteFunctions();
     }
     $this->schema_info = array();
 }