1
0
mirror of https://github.com/danog/ext-pq.git synced 2024-11-26 20:04:44 +01:00
This commit is contained in:
Michael Wallner 2014-09-30 20:44:46 +02:00
parent f26b00a20f
commit 16f45efdd0

View File

@ -9,7 +9,7 @@ echo "Test\n";
include "_setup.inc";
$c = new pq\Connection(PQ_DSN);
$c->exec("DROP TABLE IF EXISTS test");
$c->exec("DROP TABLE IF EXISTS test CASCADE");
$c->on(pq\Connection::EVENT_NOTICE, function($c, $notice) {
echo "Got notice: $notice\n";
});