By Oscar Franco
Twitter • YouTube • [Email](mailto:[email protected]?subject=I%20need%20a%20Freelancer)
You might want to directly look at the data inside your database or export it from a client device to provide support.
In order to support these workflows OP SQLite supports outputting the database file path.
const db = await open({name: 'dbPath.sqlite'});
db.execute('CREATE TABLE test (id INTEGER PRIMARY KEY AUTOINCREMENT)');
const path = db.getDbPath();
onsole.warn(path);
Clipboard.setString(path);
If you are running on the simulator you can put the path on the clipboard. Go to your Terminal and directly open the database file in your sqlite explorer application
Oscar Franco Screen 001143.mp4
For on user support you can use this file path to attach it to an email or to you own ticketing system (as long as it supports file uploads).