Using CLI
Installing CLI
If entities files are in javascript
If entities files are in typescript
npm install ts-node --save-dev"scripts": {
...
"typeorm": "typeorm-ts-node-commonjs"
}"scripts": {
...
"typeorm": "typeorm-ts-node-esm"
}How to read the documentation?
Initialize a new TypeORM project
Create a new entity
Create a new subscriber
Manage migrations
Sync database schema
Log sync database schema queries without actual running them
Drop database schema
Run any SQL query
Clear cache
Check version
Last updated