-
## What are you doing?
Associations are added using the same casing as the model class name. In the past, models were not defined as classes, so the association field names were naturally cam…
-
### Steps to reproduce
I guess, that manyToMany relationship through sequelize doesn't work.
### Expected behavior
I'm trying to save posts with tags throught table posts_tags.
Tags should…
-
So I have a user instance and I want to select their roles they have. In the associate table, I have the `is_primary` field to dictate if that is their primary role or not. I'm using this query setup:…
-
## What are you doing?
I have a model and associations, but using `{ underscored: true }` does not create snake_cased keys.
```js
module.exports = (sequelize, DATATYPES) => {
const Workout…
-
A lot of people are liking TypeORM for the decorators so I've wrapped a lot of the sequelize definitions in decorators because I prefer the Sequelize querying much better than TypeORM. Would appreciat…
-
database: ```postgres (PostgreSQL) 10.5```
Error:
```Using environment "development".
sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better …
-
Following docs https://docs.feathersjs.com/guides/step-by-step/generators/gen-authentication.html i've found an issue on latest generator:
i choosed provider : username + password (local)
entity use…
-
之前plugin配置用egg-sequelize是正常能用的,配置为此扩展就报错,
报错代码如下:
await _ctx.model.User.findAll({
where: {
// user_name: params.user_name //只用此行,不用下面的 $or 就不会报错
$or: [{ //采用此 $o…
-
Listener missed an event. `IdentityUpdated` event for account `0x11fF89Cfe7340501c743474a3b0634EF50B8A008` in tx `0xb9469866953bfa16ec6dd1e5587515ba7d67c93777dd165497996723ae196128`.
When the list…
-
I want to create query based on associated entity:
```
const User = sequelize.define('user', {
username: Sequelize.STRING,
firstname: Sequelize.STRING,
lastname: Sequelize.STRING,
pas…