QueryResult
이 콘텐츠는 아직 번역되지 않았습니다.
Module @netwiv/api/plugins/sql · Kind Interface
import { QueryResult } from '@netwiv/api/plugins/sql';Members
Section titled “Members”lastInsertId?
Section titled “lastInsertId?”lastInsertId?: number | undefinedThe last inserted id.
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).
rowsAffected
Section titled “rowsAffected”rowsAffected: numberThe number of rows affected by the query.
Descriptions come from the pinned @tauri-apps/plugin-sql@2.4.1 declarations (MIT OR Apache-2.0); imports are shown with @netwiv/api paths.