> It's working fine now, but actually I didn't write exactly what you
> suggested.
> The "commit" method belongs to the connection, not to the cursor. Therefore,
> in my script it should be conn.commit().
Whoops, you're quite right. Went a little too fast there. :D
Che
It's working fine now, but actually I didn't write exactly what you
suggested. The "commit" method belongs to the connection, not to the cursor.
Therefore, in my script it should be conn.commit().
On Sun, Nov 8, 2009 at 9:15 PM, Che M wrote:
>
> > I've got a functions that should update an sqlit
Thanks a lot, Che! It's working fine now.
On Sun, Nov 8, 2009 at 9:13 PM, Che M wrote:
> > I've got a functions that should update an sqlite database, among other
> things. However
> > the database doesn't get updated. When used in isolation, the update
> statement works
> > fine. What am I d
> I've got a functions that should update an sqlite database, among other
> things. However
> the database doesn't get updated. When used in isolation, the update
> statement works
> fine. What am I doing wrong?
> Below is the function. The whole script can be found at
> http://past
Hi tutors,
I've got a functions that should update an sqlite database, among other
things. However the database doesn't get updated. When used in isolation,
the update statement works fine. What am I doing wrong?
Below is the function. The whole script can be found at
http://pastebin.com/m53978f