Well, its frustrating because it sometimes works and it sometimes doesnt.
Works:
rs = db.execute('SELECT * FROM docs WHERE g_doc_id = ?',[docs[i]]);

Doesnt work:
rs = db.execute('DELETE FROM docs WHERE g_doc_id IN (?)', [docs]);

On Sat, Jun 6, 2009 at 1:12 PM, Eduard Martini <[email protected]>wrote:

>
> Can you show some code? I don't have any problems with that, maybe is
> an error on your code.
>
> On Jun 6, 12:01 am, Merhawie <[email protected]> wrote:
> > When doing an db.execute() with an argArray, is it not possible to do
> > so if you are only binding one element? I seem to get an error
> > whenever I have an argArray of 1 unit in the format: db.execute
> > (SOME_SQL,[oneVar])
>

Reply via email to