What is the difference between "push" and "append" filters?

pachocastillosr
pachocastillosr Member ✭

Hi,

I've read the documentation on the "push" and "append" filters but still don't get the difference. Can someone please explain it here and, if possible, give an example?

Thanks!

Tagged:

Best Answer

  • Pawel Magdanski
    Pawel Magdanski Member ✭✭✭
    Answer βœ“

    Not sure if this is the only differrence but append allows to define the path in the object and push just throws it at the end of the array