How to setup Typeorm

preview_player
Показать описание
Learn how to setup Typeorm with GraphQL Yoga and Typescript.

Links from video:

----
Video Suggestions:

----
Follow Me Online Here:

----
#benawad

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

Hey nice video! It helped a lot! Also is there a way to check if the database exist and create if not, in typeOrm?

jorgemoreira
Автор

Extremely grateful for these videos. Thank you so much!

dawid_dahl
Автор

Awesome video Ben as always! And too, if some is using MySQL like me, the table's definition needs to be like this:

export class User {
@PrimaryGeneratedColumn() id: number;

@Column({ type: "varchar", unique: true })
email: string;

@Column({ default: false })
confirmed: boolean;

@Column({ type: "varchar", length: "238" })
firstName: string;

@Column("text") lastName: string;

@Column() age: number;
}

Especially in email and confirmed fields, because MySQL works a little different in the bool and text types :)

andresmontoya
Автор

@Ben Awad can you make a vid on TypeORM subscribers?

nyahhbinghi
Автор

Hi Ben, are you going to be doing a tutorial with TypeORM and React / React Native?

marcdavies
Автор

can we use it with firebase cloud functions ?

vigikaranvijayaratnam
Автор

Ben you are a man of great talent. Questions for you... since you have been around the horn on sequelize, prisma and typeorm, where are your leanings? Also, what key benefits bend your preference to graphql-yoga?

jeffboothe
Автор

Hi Ben, have you used joinmonster with typescript and typeorm before? I really like joinmonster. Typeorm looks promising. So far no complaints about sequelize though.

dennistennis