Skip to main content
Module

x/vorm/types.d.ts>Res

VORM - VOXO ORM like Deno module with a simple interface and hot-swappable backends
Latest
interface Res
import { type Res } from "https://deno.land/x/vorm@v1.0.1/types.d.ts";

Properties

req: Req

The request object containing the SQL query string and values

rows: { [param: string]: string | number; }[]

The result of a SELECT query in an array of objects

affectedRows: number

The number of rows affected by the query

insertId: number

The insert ID of the last row inserted

time: number

The time it took to execute the query (only available for rqlite)

error: string

The error if there was one