-
From time to time I have to write very complex query that cannot be handled by Sequelize default methods. So I write raw query by hand and I execute it using sequelize instance and passing also sequel…
-
For me personally, it's not really clear if sequelize-hierarchy supports Microsoft SQL Server or not (and if not, why it's not supported).
In the README is the following text:
> Works with all dia…
-
I am using sequelize but ran into the problem of it not supporting model inheritance.
I would suggest implementing an InheritsFrom association, that would be basically the same as the BelongsTo assoc…
-
## 背景
VSCode 早期版本,对 Node Cluster 的调试支持一直不是很友好,譬如:
- 开发期重启进程后,不支持重新 attach。
- Cluster 重启后 debugPort 会自增,VSCode 也不支持 attach 新端口。
- Egg 的 [多进程模型](https://eggjs.org/zh-cn/core/cluster-and-ipc.html) …
-
I have times > 24 hours, which just broke upon moving to postrgres, so I think I need to implement an INTERVAL data type in data-types.js.
-
## What was unclear/insufficient/not covered in the documentation
The documentation suggests the `after` and `transaction` options are passed in the last options parameters, but in fact after must …
-
## What you are doing?
Mysql authentication error shows up when i run `db:migrate` command.
```js
Sequelize CLI [Node: 11.11.0, CLI: 5.4.0, ORM: 4.42.0]
Loaded configuration file "src/data…
-
Sequelize 1.7.5
What I want is to join PostComments with Posts and group on PostComment.PostId to count comments per each post...
So far I am trying to group on post comments:
```
Post.hasMany(PostC…
-
The unique validation check is preventing me from creating duplicate entries in my join table:
```
// models/user.js
User.belongsToMany(models.item, { through: models.history, as: "Owners',
foreig…
-
using Sequelize `3.3.2`
``` javascript
var user = User.build({ id: 1 }, { isNewRecord: false })
user.destroy()
.then(function(){
console.log(arguments)
})
```
Code above always prints `{ '0': [] }…