import { PreparedQuery } from "https://deno.land/x/sqlite@v3.5.0/mod.ts";
Like first
except the row is returned
as an object containing key-value pairs.
Examples
const query = db.prepareQuery<_, { id: number, name: string }>("SELECT id, name FROM people");
const person = query.first();
// { id: 1, name: "Peter" }