Skip to main content
Module

x/mandarinets/orm-core/mandarine-orm.ns.ts>MandarineORM.Entity.Decorators.Column

Mandarine.TS is a typescript, decorator-driven framework that allows you to create server-side applications. Mandarine.TS provides a range of built-in solutions such as Dependency Injection, Components, ORM and more. Under its umbrella, Mandarine.TS has 4 modules: Core, Data, Security and MVC, these modules will offer you the requirements to build a Mandarine-powered application.
Latest
interface MandarineORM.Entity.Decorators.Column
import { type MandarineORM } from "https://deno.land/x/mandarinets@v2.3.2/orm-core/mandarine-orm.ns.ts";
const { Column } = MandarineORM.Entity.Decorators;

Contains the information the @Column decorator can and will have

Properties

optional
name: string
optional
fieldName: string
optional
type: Types
optional
unique: boolean
optional
nullable: boolean
optional
length: number
optional
precision: number
optional
scale: number
optional
incrementStrategy: boolean
optional
options: any