In my app, the user should be able to change the order of the item. I am having the data from the table by SELECT statement order by Order field, and ...
In my app, the user should be able to change the order of the item. I am having the data from the table by SELECT statement order by Order field, and ...
In Android I have this part of code: Lint is now saying 'DatabaseHelper' used without 'try'-with-resources statement In DatabaseHelper class I hav ...
I have gone through and made sure all my Cursors are closed. I am running with strict mode with detectLeakedSqlLiteObjects and detectLeakedClosableObj ...
What should I do at this stage to delete the selected id? I tried all the ways I could think of. thanks ...
I have written the below query which is working fine on Api 29 and 30 but app is crashing on Api 28 only with the following log System.out: crash_repo ...
The query below return all items with id from :ids list. But table and input list have different order. Is there way to add something like pseudocode ...
I am having an arraylist fetching name and status of a person. Arraylist is storing the status and name. Its displaying one name at a time. How can I ...
when I run my application it shows no such column. I want to store and display an event in my application. I have added a new data (place) to the prev ...
I copied project from one place to another computer. I exported project using File>Export>Export to Zip file I opened project and try to run but ...
We have a project that extensively uses offline storage hence Room. The database has been migrated so many times that It is currently on V77. we are ...
I have complex Android Room Query: I am passing boolean - applyAssigneeFilters to determine if query should return items where assigneeMemberId is ...
I am investigating performance improvements of Sqlite PRAGMA statements on my current Android application. I have this code as my RoomDatabase.Callba ...
When I use the @Insert function in DAO, the following error occurs. All other codes using Room use suspend in @Insert, so I don't know the cause of ...
I have an Offline application that uses Sqlite and Room. Also I have filled the DB and want to attach it to my application in Android Studio. My ques ...
I have playlists and songs. Each song has a position within a playlist. I want to query all playlists with their songs ordered by their respective pos ...
I have a table named as transaction_table: And assume this data in it: So I just make SELECT statement that will get balance according date then ...
I have a standard outer join in Room Dao which strangely ends up setting parent joinId (bakeId) to 0 whenever join didn't find any child rows. Is this ...
When I use alter and add statement I get an error The SQL code is: The error boils down to: Near "foreign key": syntax error I want to link ...
I have table called transaction_table so I write the this code the result: but I want some thing like this: So, how to achieve the second tab ...
This code works perfectly to update a row in the table based on a condition I want to do the same thing with several rows each linked to a condition ...