Trouble inserting data into an sqlite3 database
#6
It seems you're writing some sort of a wrapper around the DB? You may consider reusing one of the existing wrappers:
https://github.com/madmaxoft/GalExport/b...#L324-L381

The error you're running into is, by my very limited guess, caused by calling the get_values function at such a moment - the function could for example expect that it is called only if there are any results returned from the query (so there must be another function indicating whether there are any results or not). Difficult to say anything more without seeing your exact code.
Reply
Thanks given by:


Messages In This Thread
RE: Trouble inserting data into an sqlite3 database - by xoft - 11-22-2015, 05:19 AM



Users browsing this thread: 1 Guest(s)