views:

44

answers:

1

I'm using the SQLite3 database system in the Android library.

I need to execute a query during a transaction to see if there is a similar entry already there. If there is, I have to perform some other logic and adjustments before I add a new row.

Can I execute a query within a transaction and get the result back immediately?

+1  A: 

Yes it is safe to do so.

SB