typeorm
all
A JavaScript ORM that can run on Node.js, browser, Cordova, Ionic, React Native, NativeScript, and Electron platforms.
More info →Examples (8)
Create an empty migration file
typeorm migration:create --name migration_nameCreate a migration file with the SQL statements to update the schema
typeorm migration:generate --name migration_nameRun all pending migrations
typeorm migration:runCreate a new entity file in a specific directory
typeorm entity:create --name entity --dir path/to/directoryDisplay the SQL statements to be executed by `typeorm schema:sync` on the default connection
typeorm schema:logExecute a specific SQL statement on the default connection
typeorm query sql_sentenceDisplay help for a subcommand
typeorm subcommand --helpmade by @shridhargupta | data from tldr-pages