Skip to content

add update method or implement save(update_fields) like django orm #772

@young118

Description

@young118

Add a functionality similar to Django ORM's save(update_fields=list) to the ojb.save() method. Currently, the save method writes all data in full to Redis. When two processes simultaneously save the same object, the later save operation will overwrite the attributes modified by the earlier save operation.

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