Skip to content

TypeORM: using an Object-relational mapping with query builder and raw query.

Notifications You must be signed in to change notification settings

deal-machine/orm-queries

Repository files navigation

ORM-queries

TypeORM: using an Object-relational mapping with query builder and raw query. ✅


To run 🔌

First you need to create a container with database, follow the command and paste it in terminal. ❗

docker run --name ignite-challenge-database-queries -e POSTGRES_DB=queries_challenge -e POSTGRES_PASSWORD=docker -p 5432:5432 -d postgres


➕ Using the TypeORM and Repository
➕ Using Query Builder
➕ Using Raw Query

Tests descriptions


  • should be able to find user with games list by user's ID ✔️
  • should be able to list users ordered by first name ✔️
  • should be able to find user by full name ✔️
  • should be able find a game by entire or partial given title ✔️
  • should be able to get the total count of games ✔️
  • should be able to list users who have given game id ✔️


About

TypeORM: using an Object-relational mapping with query builder and raw query.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published