How do I call this function in the viewmodel adapter:
@Query("select * from PRODUTO")
int getCountProdutos();
My viewmodel:
public class ProdutoListViewModel extends AndroidViewModel {
private final LiveData<List<PRODUTO>> it...
Hello.
Is it possible to use multiple DBs using Sqlite's Room? In my case I need to use 2 DB, if it is possible how to change from DB1 to DB2 dynamically?
I'm not really sure how Relation Room works, I'm trying to do an insert of two related tables, many ORMs can do this, insert Person and Books into the table, without needing to set the id of books (which is...