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
Post a Comment