PostgreSQL How to get a result, transactions via php -



PostgreSQL How to get a result, transactions via php -

i need transaction update, do:

$sql = 'begin;set transaction isolation level serializable; update partner_statistic set "views_count"="views_count"+1 "id"=15 returning id; commit;';

transaction query success,but utilize unit test, , not test transaction don't success result pg_query, whow can test ?

do 1 phone call pg_query per query.

php postgresql phpunit

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -