1
How do I add data to two tables on Android in a single transaction?
I have two tables Client and Address, is last with a foreign key referencing the client table, and must be registered in a single transaction. I know that in Mysql you have the function LAST_INSERT_ROWID();
. And on Android Sqlite how do I?
Thanks! With your tip I managed to solve.
– Thiago Côrtes