Пример #1
0
 public function testPGetCol()
 {
     $rs = $this->db->PGetCol('SELECT * From Country WHERE Continent=? AND Population < ?', 'Oceania', 10000);
     $this->assertEquals(7, count($rs));
     $this->assertEquals(array('CCK', 'CXR', 'NFK', 'NIU', 'PCN', 'TKL', 'UMI'), $rs);
 }