Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/denodb/lib/helpers/fields.ts>addFieldToSchema

MySQL, SQLite, MariaDB, PostgreSQL and MongoDB ORM for Deno
Go to Latest
function addFieldToSchema
import { addFieldToSchema } from "https://deno.land/x/denodb@v1.1.0/lib/helpers/fields.ts";

Add a model field to a table schema.

Parameters

table: any
fieldOptions: FieldOptions