sequelize-typescript icon indicating copy to clipboard operation
sequelize-typescript copied to clipboard

Decorators and some other features for sequelize

Results 222 sequelize-typescript issues
Sort by recently updated
recently updated
newest added

# Issue when trying to use ES Modules, many of the default Model methods are missing from my classes. ![image](https://user-images.githubusercontent.com/514002/180635845-d49a52ab-31b1-43d1-9724-84b074f279af.png) 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. ![image](https://user-images.githubusercontent.com/6649533/178955622-a4f43182-0434-43df-a863-b4ce5e1ebf84.png)

# 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`,...

bug

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...