Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/denogres/src/class/Association.ts>BelongsTo

Deno + PostgreSQL = DenoGres
Go to Latest
class BelongsTo
extends Association
import { BelongsTo } from "https://deno.land/x/denogres@v0.7.0-alpha/src/class/Association.ts";

Constructors

new
BelongsTo(
source: Model,
target: Model,
mappingDetails: mappingDetails,
query: string,
)

Properties

addAccesorName: string
association_name: string
foreignKey_ColumnName
getAccesorName: string
targetModel_MappindColumnName