DEV Community

Cover image for Day 50: Defining Relations With TypeORM, Second shot.
Margaret W.N
Margaret W.N

Posted on

2 1

Day 50: Defining Relations With TypeORM, Second shot.

Here is my second shot at typeORM.

Well not so sure i got it right but here is the code.
Alt Text

Alt Text
Alt Text

Output from terminal after setting logging to true.
Alt Text

When to use jointable

day 50

Top comments (0)

Postgres on Neon - Get the Free Plan

No credit card required. The database you love, on a serverless platform designed to help you build faster.

Get Postgres on Neon

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay