Module

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

Kysely dialect for PostgreSQL using the Postgres.js client.
method kysely.ColumnDefinitionBuilder.prototype.autoIncrement
import { kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/deps.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.