@tauri-apps/plugin-sql 2.0.0-beta.2 → 2.0.0-beta.3
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 +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -89,7 +89,7 @@ const result = await db.execute(
|
|
|
89
89
|
);
|
|
90
90
|
|
|
91
91
|
const result = await db.execute(
|
|
92
|
-
"UPDATE todos SET title = $1,
|
|
92
|
+
"UPDATE todos SET title = $1, status = $2 WHERE id = $3",
|
|
93
93
|
[todos.title, todos.status, todos.id],
|
|
94
94
|
);
|
|
95
95
|
|
|
@@ -100,7 +100,7 @@ const result = await db.execute(
|
|
|
100
100
|
);
|
|
101
101
|
|
|
102
102
|
const result = await db.execute(
|
|
103
|
-
"UPDATE todos SET title = ?,
|
|
103
|
+
"UPDATE todos SET title = ?, status = ? WHERE id = ?",
|
|
104
104
|
[todos.title, todos.status, todos.id],
|
|
105
105
|
);
|
|
106
106
|
```
|
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.3",
|
|
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.11"
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
27
|
"build": "rollup -c"
|