示例#1
0
 public function __construct($config)
 {
     $this->name = 'postgres';
     $this->user = '******';
     $this->pass = '******';
     $this->host = 'localhost';
     $this->port = '5432';
     parent::__construct($config);
 }
示例#2
0
 public function __construct($config)
 {
     $this->name = 'default';
     $this->user = '******';
     $this->pass = '******';
     $this->host = 'localhost';
     $this->port = '3306';
     parent::__construct($config);
 }
示例#3
0
 public function __construct($config)
 {
     $this->path = ':memory:';
     $this->dbm = false;
     parent::__construct($config);
 }