Skip to main content
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.0.40/lib/helpers/fields.ts";

Add a model field to a table schema.

Parameters

table: any
fieldOptions: FieldOptions