Skip to content

embebs many updateById or set do not trigger database update #2071

@mamartins

Description

@mamartins

In a embedsMany relation with no "belongsTo" the method parent.item.create triggers a mongo update while the parent.item.set(id, newData), or parent.item.updateById(id, newData) don't.

This methods should also be better documented

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions