Example #1
0
 protected function setUp()
 {
     $this->conn = new \pq\Connection(PQ_TEST_DSN);
     $this->conn->exec(PQ_TEST_SETUP_SQL);
     Table::$defaultConnection = $this->conn;
     $this->table = new Table("test");
     $this->table->getQueryExecutor()->attach(new \QueryLogger());
 }