import { kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.4/deps.ts";
const { UpdateQueryBuilder } = kysely;
Executes the query and returns the first result or throws if the query returned no result.
By default an instance of NoResultError is thrown, but you can provide a custom error class, or callback as the only argument to throw a different error.
Parameters
optional
errorConstructor: NoResultErrorConstructor | ((node: QueryNode) => Error)