sequelize-typescript
sequelize-typescript copied to clipboard
Decorators and some other features for sequelize
# Issue BaseModel.ts ``` import { CreatedAt, UpdatedAt, Model, Column, DeletedAt, } from "sequelize-typescript" export class BaseModel extends Model { @CreatedAt _createdAt: Date @Column _createdBy: string @UpdatedAt _updatedAt: Date @Column...
**Versions** - sequelize: ^6.5.0 - sequelize-typescript: ^2.0.0 - typescript ^3.6.3 **I'm submitting a ...** [ X ] bug report [ ] feature request **Actual behavior:** When I do some subquery...
# Issue Multiple related items of the same type are returning duplicates ## Versions "sequelize": "^6.17.0", "sequelize-typescript": "^2.1.3", "typescript": "^4.6.3" ## Issue type - [X] bug report - [ ]...
# Issue connecting to snowflaoke using sequelize-typescript with exsisting tables . ## Versions - sequelize: "6.19.2", - sequelize-typescript: "2.1.3" - typescript: "3.7.3" ## Issue type - [ x] bug report...
# Issue If I define 2 models with a many to many relationship between them, I am able to retrieve the associated table when the primary keys of both models...
Hi, I have tried to upgrade an application to the latest Sequelize Version and it fails due to lots of typing issues like these: ``` node_modules/sequelize-typescript/dist/associations/shared/union-association-options.d.ts:1:59 - error TS2614: Module...
**Versions** - sequelize: 4.44.4 - sequelize-typescript: 0.6.12-beta.3 - typescript: 3.8.3 **I'm submitting a ...** [ ] bug report [ ] feature request [X] Question **Actual behavior:** Errors all over the...
# Issue No way to create a constraint rather than unique, index, or unique together Expected behaviour when running sync({force: true}}: ```ts import { BelongsTo, Column, DataType, ForeignKey, Model, Table,...
I've had a number of issues with cyclical dependencies. TDLR, if I install the webpack CircularDependencyPlugin on my project (NextJS, apollo graphql, sequelize, react, typescript), the build would fail because...
# Issue Hello everyone, I have this issue please take a look and suggest anythig cause I'm stock here, when I call @BeforeUpdate and @BeforeCreate hooks in the model, they're...