예제 #1
0
파일: test_dalmp.php 프로젝트: nbari/DALMP
 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);
 }