Posts by VRKM • 1 point
1 post
-
0
votes0
answers41
viewsQ: What is the best way to perform a dependent insertion of another entry into the database using Typeorm?
The entities involved are the following (cardinality Onetoone) User import { Entity, PrimaryGeneratedColumn, Column, OneToOne, JoinColumn } from "typeorm"; import Profile from "./Profile"; @Entity()…