> q.Update(document.ref, { data: { hits: document.data.hits + 1, ...
Does FaunaDB have an "atomic increment" a la Firestore? Knowing nothing about FaunaDB, I suspect this code in the blog post has the potential to "lose" hits that come in at roughly the same time...