Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/typeorm/src/index.ts>PrimaryGeneratedColumn

Forked from https://github.com/typeorm/typeorm
Latest
function PrimaryGeneratedColumn
import { PrimaryGeneratedColumn } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/index.ts";

Column decorator is used to mark a specific class property as a table column.

Returns

Function

Column decorator is used to mark a specific class property as a table column.

Parameters

options: PrimaryGeneratedColumnNumericOptions

Returns

Function

Column decorator is used to mark a specific class property as a table column.

Parameters

strategy: "increment"
optional
options: PrimaryGeneratedColumnNumericOptions

Returns

Function

Column decorator is used to mark a specific class property as a table column.

Parameters

strategy: "uuid"
optional
options: PrimaryGeneratedColumnUUIDOptions

Returns

Function

Column decorator is used to mark a specific class property as a table column.

Parameters

strategy: "rowid"
optional
options: PrimaryGeneratedColumnUUIDOptions

Returns

Function