-
## What are you doing?
Because Sequelize utilizes JSON for its queries, there doesn't seem to be a (not horrible) way to compare today/now to a computed value, as both are technically computed va…
-
It seems, the only way to set db connection parameters is to specify config.json file. But, in some cases you don't need to handle environment in app yourself. So, I'm interested is there any way to s…
-
Hi,
I'm requesting support for doing an upsert without requiring any fields be updated.
Why? There are some cases where its only necessary to ensure that the record exists and not necessarily ne…
-
## What are you doing?
I want to globally use REPEATABLE_READ as transaction isolation level unless overridden. This was the behaviour for in sequelize 3 and I missed that this was mentioned in the m…
-
## What are you doing?
```js
Event.findAll({
include: [
{
model: Reaction,
required: true,
include: [
{
m…
sshaw updated
5 years ago
-
Hi
I have use SQL2000 and I had config the tdsVerison to 7_1, when I run "sequelize db:migrate, sequelize throw an error.
```
Sequelize CLI [Node: 11.1.0, CLI: 5.3.0, ORM: 4.41.2]
Loaded co…
gaifo updated
5 years ago
-
I am getting a response validation error when using `res.json({ success: true, message: "Logged out!" })` in my controller.
```
"Error: Response invalid
at: body
Expected a non-null object.…
thurt updated
5 years ago
-
## What are you doing?
- Start a small project using `sequelize init`
- Configure to use sqlite
- Add model with `sequelize model:generate --name user --attributes login:string,password:string`
…
-
## What you are doing?
define an field type with NUMBER and write
```typescript
import * as Sequelize from 'sequelize';
import sequelize from '../service/postgres';
const Test = seque…
-
Hi, thanks for your book. I have been battling with this error `TypeError: db.models[key].associate is not a function`. I have tried to resolve but all to no avail. Can you help out?