mirror of
https://github.com/tauri-apps/tauri-plugin-sql.git
synced 2026-01-31 00:35:18 +01:00
docs(updater): Link to website in Usage section
closes #1133 Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/12120811046 Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
This commit is contained in:
4
dist-js/index.d.ts
vendored
4
dist-js/index.d.ts
vendored
@@ -4,12 +4,12 @@ export interface QueryResult {
|
||||
/**
|
||||
* The last inserted `id`.
|
||||
*
|
||||
* This value is always `0` when using the Postgres driver. If the
|
||||
* This value is not set for Postgres databases. If the
|
||||
* last inserted id is required on Postgres, the `select` function
|
||||
* must be used, with a `RETURNING` clause
|
||||
* (`INSERT INTO todos (title) VALUES ($1) RETURNING id`).
|
||||
*/
|
||||
lastInsertId: number;
|
||||
lastInsertId?: number;
|
||||
}
|
||||
/**
|
||||
* **Database**
|
||||
|
||||
@@ -10,12 +10,12 @@ export interface QueryResult {
|
||||
/**
|
||||
* The last inserted `id`.
|
||||
*
|
||||
* This value is always `0` when using the Postgres driver. If the
|
||||
* This value is not set for Postgres databases. If the
|
||||
* last inserted id is required on Postgres, the `select` function
|
||||
* must be used, with a `RETURNING` clause
|
||||
* (`INSERT INTO todos (title) VALUES ($1) RETURNING id`).
|
||||
*/
|
||||
lastInsertId: number
|
||||
lastInsertId?: number
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user