We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28b02c7 commit 615658cCopy full SHA for 615658c
documentation/docs/persistence/sequelize/custom-service.md
@@ -17,7 +17,7 @@ export class TodoItemService extends SequelizeQueryService<TodoItemEntity> {
17
}
18
19
async markAllAsCompleted(): Promise<number> {
20
- const entities = await this.query({ filter: { completed: { is: true } } });
+ const entities = await this.query({ filter: { completed: { is: false } } });
21
22
const { updatedCount } = await this.updateMany(
23
{ completed: true }, // update
0 commit comments