SQLite

Petite Abeille petite.abeille at gmail.com
Fri Oct 3 19:52:13 CEST 2008


On Oct 3, 2008, at 2:33 PM, Matthias Huening wrote:

> This seems not to work with sqlite3.

Before going any further... make sure that SQLite's count_change is  
enabled:

PRAGMA count_changes
PRAGMA count_changes = 0 | 1

"Query or change the count-changes flag. Normally, when the count- 
changes flag is not set, INSERT, UPDATE and DELETE statements return  
no data. When count-changes is set, each of these commands returns a  
single row of data consisting of one integer value - the number of  
rows inserted, modified or deleted by the command. "

http://www.sqlite.org/pragma.html

Cheers,

--
PA.
http://alt.textdrive.com/nanoki/



More information about the Python-list mailing list