Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

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

Add a model field to a table schema.

Parameters

table: any
fieldOptions: FieldOptions