Skip to content

docs(query-interface): add inline 'bulkUpdate' docs - #10005

Merged
sushantdhiman merged 1 commit into
sequelize:masterfrom
c-moss-talk:docs-bulk-update
Oct 9, 2018
Merged

sushantdhiman merged 1 commit into
sequelize:masterfrom
c-moss-talk:docs-bulk-update

Conversation

@c-moss-talk

Copy link
Copy Markdown
Contributor

Adds missing documentation on 'bulkUpdate' inline at query-interface.js. Addresses #8820

@sushantdhiman
sushantdhiman merged commit 985c1d4 into sequelize:master Oct 9, 2018
@sushantdhiman

Copy link
Copy Markdown
Contributor

Thanks @c-moss-talk

@jeanmarcprevost

Copy link
Copy Markdown

I don't understand the documentation...
@param {Object} identifier A hash with conditions OR an ID as integer OR a string with conditions

@sushantdhiman

Copy link
Copy Markdown
Contributor

where conditions

{
   name: "ABC",
   [Op.and]: [ .... ],
   ....
}

@c-moss-talk

c-moss-talk commented Oct 19, 2018 •

Copy link
Copy Markdown
Contributor Author

Yeah, that's a hash example, but actually I tried to use an ID as integer and it resulted in unexpected behavior. I want to look into it.

@jeanmarcprevost

Copy link
Copy Markdown

Oh yes thank @sushantdhiman !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants