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

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

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

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

Parameters

optional
forModel: ModelSchema = [UNSUPPORTED]

Returns

string