sequelize-typescript
sequelize-typescript copied to clipboard
Decorators and some other features for sequelize
Hello, I managed to reduce a bit of boiler plate with a simple type definition: ```ts export type ModelAttrs = Omit // example // not required export interface BaseModelAttrs{ id:...
# Issue Configuration for CLS (Continuation-Local Storage) seems not to work or I'm doing something wrong. CRUD operations don't join existing transaction. Any chance to get it done right? ##...
# Issue Using Op.not operator in any of the queries, Eg: findAll, findOne.. shows a warning in my code editor (VS Code). But the code compiles and runs without any...
# Issue ## Versions - sequelize: 6.12.0-beta.3 - sequelize-typescript: 2.1.1 - typescript: 4.5.4 ## Issue type - [x] bug report - [ ] feature request ## Actual behavior Association fields...
I'm not getting a way to remove an association between these two models below: ``` @Table class Ticket extends Model { @PrimaryKey @AutoIncrement @Column id: number; @ForeignKey(() => Queue) @Column...
I believe https://github.com/sequelize/sequelize/commit/b253d8ed63c91bc2c7143f07806554b5a5ac67eb breaks the alias-inference logic in `sequelize-typescript`. I believe this is because this change breaks the proxy behavior that `sequelize-typescript` relies on. I have opened an issue with...
# Issue ## Versions - sequelize: 6.16.1 - sequelize-typescript: 2.1.3 - typescript: 4.5.4 ## Issue type - [x] bug report - [ ] feature request ## Actual behavior In the...
# Issue Just looking for some pointers on how to use the Sequelize operator "match" with sequelize-typescript. I have indexes in place but when I query using [Op.match] first of...
**Versions** - sequelize: 5.21.12 - sequelize-typescript: 1.1.0 - typescript: 3.9.5 **I'm submitting a ...** [ ] bug report [ ] feature request **Actual behavior:** It gives compilation error with message...
# Issue **Polymorphic associations are not working** ## Versions - sequelize: ^7.0.0-alpha.2 - sequelize-typescript: ^2.1.1 - typescript: ^4.2.3 ## Issue type - [x] bug report - [ ] feature request...