Module

x/kysely_postgrs_js_dialect/mod.ts>kysely.InsertQueryBuilder#$castTo

Kysely dialect for PostgreSQL using the Postgres.js client.
method kysely.InsertQueryBuilder.prototype.$castTo
import { kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/mod.ts";
const { InsertQueryBuilder } = kysely;

Change the output type of the query.

This method call doesn't change the SQL in any way. This methods simply returns a copy of this InsertQueryBuilder with a new output type.