Learn TypeOrm on Node.js with MySQL From Scratch in One Video

preview_player
Показать описание
Written Tutorial:

Our Udemy Courses:
Let's Create A Nodejs Desktop Chat Application(React/Socket) :

--- Official Links----

---Support US---
Рекомендации по теме
Комментарии
Автор

The keyboard is satisfying af, nice detail

luismarioramirezperalta
Автор

Thanks for sharing it's an amazing video. Let me ask you something, I had a problem with the entities and migrations in the config file, when I used ts-node I had to put my entities like entities: "dist/entities/**/*.js" because if I set entities: "src/entities/**/*.ts" I got "Entity metadata was not found", do you have any idea about this problem?

AngelPuc
Автор

Excellent tutorial CoderOne! You deserve a like and a new subscriber :)

leovvvvv
Автор

For windows users which could have an error with cli migrations use :
"ts-node ./node_modules/typeorm/cli.js migration:run" instead of "ts-node ./node_modules/typeorm/cli.js migration:run"
Good vid very informative !

jhblack
Автор

Thank you for all the effort you put into this

mohannedzbeda
Автор

Good for informative and straight to the point explanation!

sauer.voussoir
Автор

This might sound like a stupid question, but when do you create the tables? because in the video you only create the database but the tables just suddenly appear. in my project it says that the relation users does not exist, could someone help me?

genedrive
Автор

Awesome 👏 I wanted to know what’s the preference for nullable column while defining class variables. I saw people use ? Question mark or ! Exclamation mark e.g name!: string; which is decorated as nullable column

PiyushChauhan
Автор

Great video with great explanation, keep it up.

cruelplatypus
Автор

Can you please show how to insert for column of type text[] or jsonb[]?

mdlindsey
Автор

Can u tell me how to query in a @Column({array: true}) in postgres?

KallolMedhi
Автор

I'm getting an error after attempting the migration:
query: ROLLBACK
Error during migration run:
QueryFailedError: column "role" of relation "users" contains null values

dropDuckets
Автор

Your keyboard’s louder than your explanation

pramudyaindra
Автор

31:40 how is this not `tweet.userId = user.id` ? the tweet has a userId column and not user

falcon
visit shbcf.ru