Skip to content

Query().WithAll() #232

@niondir

Description

@niondir

When loading one entity and changing some value, the store.Update() method will delete all relations that are not loaded. Therefore one has to explicitly call all With**() methods.

If there isn't some other way to load an entity with all relations, or to save an entity without setting all relation to null I would suggest some method New**Query().WithAll() to load all related entities as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions