Skip to content

Latest commit

 

History

History
4 lines (4 loc) · 667 Bytes

File metadata and controls

4 lines (4 loc) · 667 Bytes
  • create mutation inserts item to the head of the query results of the corresponding useFindMany queries.
  • update mutation updates the item in the query results of useFindXXX queries and their nested reads by matching the item's ID.
  • upsert mutation first tries to update the item in the query results of useFindXXX queries and their nested reads by matching the item's ID. If the item is not found, it inserts the item to the head of the query results.
  • delete mutation removes the item from the query results of the corresponding useFindMany queries and sets null to useFindUnique and useFindFirst query results, by matching the item's ID.