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')
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