@tauri-apps/plugin-sql 2.0.0-beta.5 → 2.0.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -64,7 +64,7 @@ Afterwards all the plugin's APIs are available through the JavaScript guest bind
|
|
|
64
64
|
```javascript
|
|
65
65
|
import Database from "@tauri-apps/plugin-sql";
|
|
66
66
|
|
|
67
|
-
// sqlite. The path is relative to `tauri::api::path::BaseDirectory::
|
|
67
|
+
// sqlite. The path is relative to `tauri::api::path::BaseDirectory::AppConfig`.
|
|
68
68
|
const db = await Database.load("sqlite:test.db");
|
|
69
69
|
// mysql
|
|
70
70
|
const db = await Database.load("mysql://user:pass@host/database");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tauri-apps/plugin-sql",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.6",
|
|
4
4
|
"description": "Interface with SQL databases",
|
|
5
5
|
"license": "MIT or APACHE-2.0",
|
|
6
6
|
"authors": [
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"LICENSE"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@tauri-apps/api": "2.0.0-beta.
|
|
24
|
+
"@tauri-apps/api": "2.0.0-beta.14"
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
27
|
"build": "rollup -c"
|