On Fri, Nov 14, 2014 at 3:57 PM, bjdodo <[email protected]> wrote:
> I've got it now. E.g. for delete you can do this:
>
A minor fix:
the 'try' needs to be moved to...
>
> int argidx = 0;
> SQLiteStatement statement = mDB.compileStatement(sql);
>
here. Because...
> throw new RuntimeException("unexpected argument type);
>
if that happens then you're not closing it.
> try {
> return statement.executeUpdateDelete();
> } finally {
> statement.close();
> }
>
--
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users