Module

x/kysely_postgrs_js_dialect/mod.ts>kysely.ColumnDefinitionBuilder#autoIncrement

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

Adds auto_increment or autoincrement to the column definition depending on the dialect.

Some dialects like PostgreSQL don't support this. On PostgreSQL you can use the serial or bigserial data type instead.