-
## 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 …
-
## 背景
VSCode 早期版本,对 Node Cluster 的调试支持一直不是很友好,譬如:
- 开发期重启进程后,不支持重新 attach。
- Cluster 重启后 debugPort 会自增,VSCode 也不支持 attach 新端口。
- Egg 的 [多进程模型](https://eggjs.org/zh-cn/core/cluster-and-ipc.html) …
-
## What are you doing?
documents.js
```js
const moment = require('moment');
module.exports = function(sequelize, DataTypes) {
return sequelize
.define('documents', {
…
-
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.
-
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…
-
## 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…
-
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': [] }…
-
As I understand the doc, the model update function can only be used with a single object of values. This is usefull to bulk update multiple rows with the same values.
My question is: is it possible …
-
## What was unclear/insufficient/not covered in the documentation
This page seems to be the only mention of dialectOptions http://docs.sequelizejs.com/class/lib/sequelize.js~Sequelize.html
It on…
remjx updated
6 months ago