AVX::UPDATE

This command is used to update specific parameters within Collections. It is used to filter out the documents from the collection named ‘Collections’.
AVX::UPDATE (query_dict,'key','value','action')
String Description
query_dict The dictionary value to be provided as a querying parameter in the Mongo DB.
key Key for which the value needs to be updated in the queried document.
value The value which needs to be modified for the provided key.
action

It can be either:

  • Add - To add the provided value in the array of values
  • Remove - To remove the provided value from the array of values.