sequelize-typescript
sequelize-typescript copied to clipboard
Decorators and some other features for sequelize
# Issue TypeError: Class constructor User cannot be invoked without 'new' ## Versions "routing-controllers": "^0.9.0", "sequelize": "^6.5.0", "sequelize-typescript": "^2.1.0", "tsc": "^1.20150623.0", "tslint": "^6.1.3" ## Issue type - [X] bug report...
Hello everyone, I have been working with Node JS. I have used sequelize-typescript to connect to the postgres sql database. Currently I am having issue connecting to the database. Issue...
for sequelize, we can [enforcing-a-foreign-key-reference-without-constraints](https://sequelize.org/v5/manual/associations.html#enforcing-a-foreign-key-reference-without-constraints). the reason is i don't want create foreign key to constraint, just for use reference. not seeing this in docs. wonder how to do it...
**Versions** - sequelize: 5.21.10 - sequelize-typescript: 1.1.0 - typescript: 4.0.5 - webpack: 5.4.0 **I'm submitting a ...** [x] bug report [ ] feature request **Actual behavior:** Sequelize-typescript throwing " Model...
# Issue We have implemented authorization and it depends on the requested user context to check for permissions and as well as createdBy/UpdatedBy columns Sequelize library supports passing custom data...
**Versions** - sequelize: 5.21.5 - sequelize-typescript: 1.1.0 - typescript: 3.8.3 - @types/bluebird: 3.5.30 **I'm submitting a ...** [x] bug report [ ] feature request **Actual behavior:** Type of attributes and...
# Issue ## Versions - sequelize: 6.7.0 - sequelize-typescript: 2.1.1 - typescript: 4.3.5 ## Issue type - [x] bug report - [ ] feature request ## Actual behavior Hi. Im...
# Issue I'm trying to update a model's association using the model.$set() function however I keep getting this err "SequelizeDatabaseError: Truncated incorrect DOUBLE value: '[object Object]" ## Versions - sequelize:...
Tables (userroles) created using migration files. The default table that the model files operate on is USER_roles. I should change it so that my model files work correctly on the...
Adding custom columns to the database models by extending the Model class ## Versions "@nestjs/common": "^8.0.8", "sequelize": "^6.6.2", "sequelize-typescript": "^2.1.0" "typescript": "^4.5.5" ## Issue type - [ ] bug report...