sequelize-typescript
sequelize-typescript copied to clipboard
Decorators and some other features for sequelize
# Issue when trying to use ES Modules, many of the default Model methods are missing from my classes.  interestingly the `asset.save` method doesn't throw an error? where Asset...
Hi @felixfbecker / @RobinBuschmann I am developing a desktop app in Electron with Angular for the ui, for the connection to the local db I want to use sequelize-typescript. When...
Generates order type dynamically as follows. 
# Issue ## Versions - sequelize: 6.21.2 - sequelize-typescript: 2.1.3 - typescript: 4.7.2 ## Issue type - [x] feature request related https://github.com/sequelize/sequelize/pull/14719 ## Actual behavior my tsconfig.json ```json { "compilerOptions":...
Hello @RobinBuschmann , First of all thank you for such a great project. One question I did have a question on is how to use sequelize-typescript to mock the database...
**Versions** - sequelize: 4.44.4 - sequelize-typescript: 1.1.0 - typescript: 3.9.2 **I'm submitting a ...** [X] bug report [ ] feature request **Actual behavior:** $ ./node_modules/.bin/ts-node test.ts ReferenceError: Cannot access 'Team'...
ts-node version 8.3.0 typescript version 3.8.3 node nersion 14.4.0 sequelize version 6.2.4 sequelize-typescript version 1.1.0 ``` TypeError: Cannot read property 'getQueryInterface' of undefined at Function.get queryInterface [as queryInterface] (/Users/caiminhao/Documents/work/MOCAPE/backend/node_modules/sequelize/lib/model.js:55:27) at...
I have a monorepo project. The root of the project have specified node version by installing `@types/node` to devDependencies. Therefore, it no need to install `@types/node` to sub-app.
**Versions** - sequelize: 5.21.3 - sequelize-typescript: 1.1.0 - typescript 3.7.4 **I'm submitting a ...** [x] bug report [ ] feature request **Actual behavior:** I've tried using new feature - `createIndexDecorator`,...
I'm finding myself struggling with finding answers about how to init my db and doing migrations. Eventually I managed to use the sequelize migrations with typescript in a type safe...