Specifically, I'm trying to do this exact thing, but with Sequel instead of ActiveRecord
https://github.com/rmosolgo/graphql-ruby/blob/master/guides/dataloader/testing.md#testing-dataloader-sources On Friday, June 24, 2022 at 4:22:29 PM UTC-4 Mark Allen wrote: > Hi, I want to count the number of DB operations within a block. Can't find > any documentation how to do this. Found DB.extend_datasets which looks > promising but can't find a way to UN-extend_dataset after. Thoughts? > -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to sequel-talk+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sequel-talk/88d47d5c-0fda-4ae6-8233-43d2ee3e94e3n%40googlegroups.com.