Update collection vs Xano Patch Endpoint

Hi community!
I have a hard time wrapping my head around the difference between the function “Update Collection” from WeWeb versus editing my Xano database with a Patch endpoint…

For example, to edit one of my database in Xano, I could use either:

  1. A “Get” collection to get my database from Xano (dynamic) and then have a workflow with an Update Collection function on this “get” Collection
  2. A workflow with a custom Xano Request to my Patch endpoint for the same database

My questions are:

  1. Is this correct? Would I apply the Update Collection to my Get endpoint collection?! That seems strange… Should this collection be cached to be updated within WeWeb?
  2. What would be the difference between the two scenarios? When would you use one versus the other?

Thanks for the help!

Update collection is local only within the app if I’m not wrong. It won’t actually update your Xano records. So that’s the difference. They should be complementary.