@tauri-apps/plugin-sql 2.0.1 → 2.0.2
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/dist-js/index.d.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
package/dist-js/index.d.ts
CHANGED
|
@@ -4,12 +4,12 @@ export interface QueryResult {
|
|
|
4
4
|
/**
|
|
5
5
|
* The last inserted `id`.
|
|
6
6
|
*
|
|
7
|
-
* This value is
|
|
7
|
+
* This value is not set for Postgres databases. If the
|
|
8
8
|
* last inserted id is required on Postgres, the `select` function
|
|
9
9
|
* must be used, with a `RETURNING` clause
|
|
10
10
|
* (`INSERT INTO todos (title) VALUES ($1) RETURNING id`).
|
|
11
11
|
*/
|
|
12
|
-
lastInsertId
|
|
12
|
+
lastInsertId?: number;
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
15
|
* **Database**
|