I can’t figure out how to update all documents in a collection with only one transaction. I want the performance benefits of pagination. The collection may contain more than 100,000 (max page size) documents.
Is there an idiomatic example of single-transaction bulk update?
Client.queryfor each invocation of its callback function (using cursor metadata as needed)
- each call to
Client.queryruns in a separate transaction
- Skimmed all newsletters
- Read available Fauna blog posts chronologically from the first, “Welcome to the Jungle”, to mid-2018’s “Verifying Transactional Consistency with Jepsen”
- Progressed through the official documentation from Welcome! to the Index tutorials
At this point I can do many of the things I want to do with FaunaDB, but I feel as though I must be missing something important when it comes to large collections.