bjdodo wrote:
> Sorry for resurrecting an old thread. I got the where clause working for
> queries with byte array arguments based on this discussion. I cannot find
> the way to use byte arrays in where clauses for update and delete
> statements.

In the Android database API, execSQL() is the only function where the
parameters are not String[] but Object[]:

  byte[] blob = ...;
  db.execSQL("DELETE FROM t WHERE my_blob = ?", new Object[]{ blob });


Regards,
Clemens
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to