Skip to content

How to update 'updatedAt' column in bulk update? #1962

@alekbarszczewski

Description

@alekbarszczewski

Using master version.

User.update({ field1: 'val1' },{ type: 'admin' }).done(...)
User.update({ field1: 'val1', updatedAt: new Date() },{ type: 'admin' }).done(...)

In both cases updatedAt column is ignored (it does not appear in SQL SET statement).

Metadata

Metadata

Assignees

No one assigned

    Labels

    questiontype: featureDEPRECATED: replace with the "feature" issue type

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions