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