Skip to main content
Module

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

Kysely dialect for PostgreSQL using the deno-postgres client.
Latest
method kysely.InsertQueryBuilder.prototype.$castTo
Re-export
import { kysely } from "https://deno.land/x/kysely_deno_postgres_dialect@v0.27.1/mod.ts";
const { InsertQueryBuilder } = kysely;

Change the output type of the query.

You should only use this method as the last resort if the types don't support your use case.