Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Export and view LKDatabase under 65.iOS

Shulou Source: shulou.com Published: 2022-06-03 07:30:46 09月23日 Update

One. Export

Xcode- > window- > devices and Simulators

Select your own project in Name

Then click on the icon that is a bit like the setting, and select Download Container...

two。 Check the database 2.1.cd to the file export directory, enter the exported folder-> cd AppData/Documents/LKHTest, and then you can see the db file of LK, as follows:

2.2 Open the db file

Enter sqlite3 lkdbhelperTest.db on the command line

Of course, you can also open it with the database view tool.

three。 Basic sqlite3 syntax .exit.help View help displays database information for the command .database; contains the location of the current database. Tables or .table shows the table name does not display if there is no table, the .schema command can view the SQL command when the data object is created; select * from tbl_xxx

Tags: Data commands databases files locations information names icons objects tools folders directories views syntax projects help input selection Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Docker Shulou Information Linux Redmi