docs(sqlite): Update BaseDir mention to AppConfig

App was removed in v2 but was an alias for AppConfig
pull/1500/head
Fabian-Lars 11 months ago committed by GitHub
parent 757ab74c8e
commit 469c277407
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -64,7 +64,7 @@ Afterwards all the plugin's APIs are available through the JavaScript guest bind
```javascript
import Database from "@tauri-apps/plugin-sql";
// sqlite. The path is relative to `tauri::api::path::BaseDirectory::App`.
// sqlite. The path is relative to `tauri::api::path::BaseDirectory::AppConfig`.
const db = await Database.load("sqlite:test.db");
// mysql
const db = await Database.load("mysql://user:pass@host/database");

Loading…
Cancel
Save