Used current working directory by mistake… Where the heck is my database?

后端 未结 3 1168
广开言路
广开言路 2021-01-25 02:05

I know that setting the database name for a SQLite database means setting the path to the DB file. I set it like this:

db.setDatabaseName(\"DienstplanerDB.sqlite         


        
3条回答
  •  [愿得一人]
    2021-01-25 03:02

    a sudo find / -name "DienstplanerDB.sqlite" spit out that the Database was created within the app package.

    If you want to access it, right click on the "YourPorgram.app" and select "Show package content".

    The Database could be found at Contents/MacOS/yourDatabase.db

提交回复
热议问题