From 219cf286dd5b4b2015fc59b59342234079c98a5e Mon Sep 17 00:00:00 2001 From: Anay Paraswani Date: Fri, 30 Aug 2024 05:43:29 +0530 Subject: [PATCH] Fix Invalid urls (#425) --- www/src/pages/en/mutations/update.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/src/pages/en/mutations/update.mdx b/www/src/pages/en/mutations/update.mdx index b638ff62..8b178d3c 100644 --- a/www/src/pages/en/mutations/update.mdx +++ b/www/src/pages/en/mutations/update.mdx @@ -440,7 +440,7 @@ await StoreLocations.update({ cityId, mallId, storeId, buildingId }) ### Data -The `data()` allows for different approach to updating your item, by accepting a callback with a similar argument signature to the [where clause](/en/mutations/conditionals). +The `data()` allows for different approach to updating your item, by accepting a callback with a similar argument signature to the [where clause](/en/mutations/conditions). The callback provided to the `data` method is injected with an `attributes` object as the first parameter, and an `operations` object as the second parameter. All operations accept an attribute from the `attributes` object as a first parameter, and optionally accept a second `value` parameter.