Skip to content

Add features beforeUpdate/afterUpdate #4783

Closed

Description

@bughp
  1. image

  2. How can i use messageQueue ?

Activity

  1. changed the title [-]Add features English[/-] [+]Add features beforeUpdate/afterUpdate[/+] on May 24, 2018
  2. flovilmart commented on May 24, 2018

    @flovilmart
    Contributor

    @bughp we won't add beforeUpdate as those are exactly the same as beforeSave with an existing object.

    The message queue is used internally, and you may not need it.

  3. bughp commented on May 27, 2018

    @bughp
    Author

    Thank you very much for your reply. BeforeUpdate/afterUpdate and message queues must be used in the project. Can you tell me how the message queue is used? Why did beforeUpdate/afterUpdate modify the entry of beforeSave/afterSave? What is the reason for this? Thank you very much.

  4. flovilmart commented on May 27, 2018

    @flovilmart
    Contributor

    Again, you don’t need beforeUpdate/afterUpdate, just use beforeSave and afterSave.

    After that, you should turn to stack overflow for code/implementation related questions, we use github for issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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