Atomic set and increment operators for GraphQL mutations
Blog post from Hasura
This article discusses atomic set and increment operators for mutations in GraphQL using Hasura GraphQL Engine. It explains how to update multiple objects in one shot with a powerful whereargument, which allows the creation of a boolean filter to select objects to be updated. The article also covers the use of setoperator to set or replace an existing value, and incrementoperator to atomically increment numerical values by a given amount to prevent race conditions. Additionally, it highlights native JSON/JSONB operators that can modify attributes in a JSON/JSONB value without needing to set the full JSON value.
No tracked trend matches for this post yet.
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.