How to find my .db file in sqlite?

て烟熏妆下的殇ゞ 提交于 2019-12-07 08:22:26

That is a database file which holds all the tables.

You have opened it as in your last picture, and the column names exist as you created them.

The reason it is "empty" is because there is no data in it.

You need to populate your table with data.

In SQLite, all tables of a database are inside one single file.

"table_enigme" is in enigmBD. That file contains your database. That file in the explorer is the database. Not sure if you are looking for something more.

Your code does not insert any data, so the table should be empty.

The "databases" folder contains your database (a single file). There is no other file called "table".

The error in insertion was in this ligne :

  • KEY_CATEGORIE + "TEXT"

    the table created contains a column named "categorieTEXT" : categorie is my column name , and TEXT its type
    I had to make a space between " and TEXT , like so :

  • KEY_CATEGORIE + " TEXT"

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!