-
fork 了一个版本,基于 v4 实现 ctx class 模式,方便让 sql 请求与 http ctx 上下文发生关联。
https://github.com/eggjs/sequelize/tree/v3
## 需要实现的功能
- [ ] 基于 ctx 的 model => ContextModel 和 ContextSequelize,自动传递 ctx 上下文
- [ …
-
Currently, it does not look like sequelize-paper-trail supports revisions for upserts (and possibly bulkCreate too?). Would it be possible/feasible to support this, or should I manually do findOne + i…
-
## What are you doing?
Attempting to create a self referencing association. In this case, albums (in an image gallery) that can contain sub albums.
```js
const Sequelize = require('sequelize'…
-
**Is your feature request related to a problem? Please describe.**
The sequelize functions don't work well with a n:m table where both sides to it are polymorphic.
For example, let's extend the …
-
Hi,
I cannot find out why the docker run command hangs:
```
~ docker run \
--name unifi-protect \
--net video \
--ip 192.168.100.2 \
-v unifi-protect:/srv/unifi-…
-
I'm trying to set deletedAt field with a custom unix timestamp other than the SequelizeJS default datetime format. I mapped the deletedAt field to my database field name using the model define.
```…
-
Can you allow extensibility to this package to hook up different data stores, so that we can add additional database adapters to it. I am looking for MYSQL support and if it was allowed, then we could…
-
## What are you doing?
I have a model defined as bellow:
```js
const Scene = sequelize.define(
'scene',
{
sceneId: { type: Sequelize.STRING, allowNull: false, primaryKey: true …
-
---
path: nodejs-orm
---
*数据来源:https://www.npmjs.com/ 2018.10*
### Mongoose
目前比较常见的 MongoDB ORM 框架,官方说法是 ODM 框架,可见对关系型数据库支持一般
* 官网:https://mongoosejs.com/
* 数据库:仅支持 MongoDB
* 编程风格:
* …
-