Module

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

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

Add a model field to a table schema.

Parameters

table: any
fieldOptions: FieldOptions