Skip to main content
Module

x/typeorm/src/decorator/relations/OneToMany.ts

Forked from https://github.com/typeorm/typeorm
Latest
import * as typeorm from "https://deno.land/x/typeorm@v0.2.23-rc10/src/decorator/relations/OneToMany.ts";

Functions

One-to-many relation allows to create type of relation when Entity2 can have multiple instances of Entity1. Entity1 have only one Entity2. Entity1 is an owner of the relationship, and storages Entity2 id on its own side.