note 79937 added to function.pg-affected-rows

From: Date: Thu, 20 Dec 2007 11:02:55 +0000
Subject: note 79937 added to function.pg-affected-rows
Groups: php.notes 
Request: Send a blank email to php-notes+get-133807@lists.php.net to get a copy of this message
There is something called auto-commit, when you supply more than one query delimited by ; semicolon all-or-none is done if one fails. No need for BEGIN;COMMIT;ROLLBACK when doing one query. its logic to mee pg_affected_rows() returns affected rows and if you want to do 2 queries apart from each other.. do a BEGIN and then 1 and get pg_affected_rows() then do 2 and get pg_affected_rows() and then finally do COMMIT; ---- Server IP: 212.63.193.10 Probable Submitter: 80.216.16.193 ---- Manual Page -- http://www.php.net/manual/en/function.pg-affected-rows.php Edit -- https://master.php.net/note/edit/79937 Del: integrated -- https://master.php.net/note/delete/79937/integrated Del: useless -- https://master.php.net/note/delete/79937/useless Del: bad code -- https://master.php.net/note/delete/79937/bad+code Del: spam -- https://master.php.net/note/delete/79937/spam Del: non-english -- https://master.php.net/note/delete/79937/non-english Del: in docs -- https://master.php.net/note/delete/79937/in+docs Del: other reasons-- https://master.php.net/note/delete/79937 Reject -- https://master.php.net/note/reject/79937 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#133807) next »