public function __construct($pixie_or_method, $database = null, $host = null, $user = null, $pass = null)
 {
     if (is_object($pixie_or_method)) {
         $this->connection = $pixie_or_method;
     } else {
         if ($pixie_or_method == 'sqlite') {
             $this->connection = new \Pixie\Connection($pixie_or_method, ['driver' => $pixie_or_method, 'database' => $database]);
         } else {
             $this->connection = new \Pixie\Connection($pixie_or_method, ['driver' => $pixie_or_method, 'host' => $host, 'database' => $database, 'username' => $user, 'password' => $pass, 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci']);
         }
     }
     parent::__construct($this->connection);
 }