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

x/denodb/lib/model.ts>Model._findModelForeignKeyField

MySQL, SQLite, MariaDB, PostgreSQL and MongoDB ORM for Deno
Latest
method Model._findModelForeignKeyField
import { Model } from "https://deno.land/x/denodb@v1.4.0/lib/model.ts";

Look for a fieldName: Relationships.belongsTo(forModel) field for a given model.

Parameters

model: ModelSchema
optional
forModel: ModelSchema = [UNSUPPORTED]

Returns

string