Lines Matching refs:pg_delete
2 PostgreSQL pg_delete() - basic test using schema
29 pg_delete($conn, 'foo', array('id' => 1, 'id2' => 0));
30 pg_delete($conn, 'foo', array('id' => 1, 'id2' => 2));
31 var_dump(pg_delete($conn, 'foo', array('id' => 1, 'id2' => 2), PGSQL_DML_STRING));
33 pg_delete($conn, 'phptests.foo', array('id' => 2, 'id2' => 1));
34 pg_delete($conn, 'phptests.foo', array('id' => 2, 'id2' => 3));
35 var_dump(pg_delete($conn, 'phptests.foo', array('id' => 2, 'id2' => 3), PGSQL_DML_STRING));
41 pg_delete($conn, 'bar', array('id' => 1, 'id2' => 2));
42 var_dump(pg_delete($conn, 'bar', array('id' => 1, 'id2' => 2), PGSQL_DML_STRING));
85 Warning: pg_delete(): Table 'bar' doesn't exists in %s on line %d
87 Warning: pg_delete(): Table 'bar' doesn't exists in %s on line %d