Skip to content

Using loader to force updates #3

@fariazz

Description

@fariazz

Hi @AliHichem,

I wanted to know if it's in the horizon of this bundle to allow for DB entry updates using the yml files.

For example, say I have a Permission entity, which has a unique field Permission.uniqueName, this field is used by the AliDataLoader to prevent duplication of existing data, while at the same time insert new Permissions from the yml.

Imagine now that I inserted a Permission, and now I want to change another field of that Permission entity (for example Permission.level). This Permission is already in the DB, so it won't be re-loaded, so the only way to update it is to do it manually in the DB.

So my question is if something like this (force an update, based on a unique field value) will be added. I think it would be a great feature to add, at least very useful in my project.

Cheers

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions