Lines Matching refs:test

19 $db->exec('CREATE TABLE test (a integer not null primary key, b text, c integer)');
21 echo "Preparing test file and array for CopyFrom tests\n";
28 $secondParameter = "test insert {$i}";
43 var_dump($db->pgsqlCopyFromArray('test',$tableRows));
45 $stmt = $db->query("select * from test");
53 var_dump($db->pgsqlCopyFromArray('test',$tableRowsWithDifferentNullValues,";","NULL"));
54 $stmt = $db->query("select * from test");
62 var_dump($db->pgsqlCopyFromArray('test',$tableRowsWithDifferentNullValuesAndSelectedFields,";","NUL…
63 $stmt = $db->query("select * from test");
80 var_dump($db->pgsqlCopyFromFile('test',$filename));
82 $stmt = $db->query("select * from test");
90 var_dump($db->pgsqlCopyFromFile('test',$filenameWithDifferentNullValues,";","NULL"));
91 $stmt = $db->query("select * from test");
99 var_dump($db->pgsqlCopyFromFile('test',$filenameWithDifferentNullValuesAndSelectedFields,";","NULL"…
100 $stmt = $db->query("select * from test");
118 var_dump($db->pgsqlCopyFromFile('test',"nonexisting/foo.csv",";","NULL",'a,c'));
130 Preparing test file and array for CopyFrom tests
139 string(13) "test insert 0"
141 string(13) "test insert 0"
153 string(13) "test insert 1"
155 string(13) "test insert 1"
167 string(13) "test insert 2"
169 string(13) "test insert 2"
183 string(13) "test insert 0"
185 string(13) "test insert 0"
197 string(13) "test insert 1"
199 string(13) "test insert 1"
211 string(13) "test insert 2"
213 string(13) "test insert 2"
273 string(13) "test insert 0"
275 string(13) "test insert 0"
287 string(13) "test insert 1"
289 string(13) "test insert 1"
301 string(13) "test insert 2"
303 string(13) "test insert 2"
317 string(13) "test insert 0"
319 string(13) "test insert 0"
331 string(13) "test insert 1"
333 string(13) "test insert 1"
345 string(13) "test insert 2"
347 string(13) "test insert 2"