Skip to content

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

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

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions