This is the query that I use to create the table
create table site_table( _id integer primary key autoincrement, name_site text, url text, login text, pass text );
I called Cursor.getColumnNames() and noticed that the column order is id, login, pass, name, url .
So, if I need a value, I have to get it at the Cursor.getString(index) . While I wasn’t debugging, I messed up calling the wrong index, but now I wonder why SQLite saves this way? Why does this not follow the way I created id, name_site, url, login and pass ?
Thanks
source share