Lines Matching refs:id
14 pg_query('CREATE TABLE foo (id INT, id2 INT)');
15 pg_query('CREATE TABLE phptests.foo (id INT, id2 INT)');
18 pg_insert($conn, 'foo', array('id' => 1, 'id2' => 1));
19 pg_insert($conn, 'phptests.foo', array('id' => 1, 'id2' => 2));
21 pg_update($conn, 'foo', array('id' => 10), array('id' => 1));
22 var_dump(pg_update($conn, 'foo', array('id' => 10), array('id' => 1), PGSQL_DML_STRING));
24 pg_update($conn, 'phptests.foo', array('id' => 100), array('id2' => 2));
25 var_dump(pg_update($conn, 'phptests.foo', array('id' => 100), array('id2' => 2), PGSQL_DML_STRING));
27 $rs = pg_query('SELECT * FROM foo UNION SELECT * FROM phptests.foo ORDER BY id');
38 string(38) "UPDATE "foo" SET "id"=10 WHERE "id"=1;"
39 string(51) "UPDATE "phptests"."foo" SET "id"=100 WHERE "id2"=2;"
41 ["id"]=>
47 ["id"]=>