Created
August 23, 2020 21:49
-
-
Save nmchenry01/a138adaf8e952293684e86b3bde91cf1 to your computer and use it in GitHub Desktop.
Raw SQL TypeORM for "Prisma vs. TypeORM"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const rawSQLQuery = async () => { | |
| const companyRepository = getRepository(Company); | |
| return companyRepository.query('SELECT * FROM "company"'); | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment