android - Can I query inside a SQLite Transaction? -


I am using the SQLite3 database system in the Android library.

I need to execute a query during a transaction to see that there is already a similar entry. If any, then I have to make some other arguments and adjustments before adding a new row.

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

Yes it is safe to do this.


Comments