Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Influencer Load (1.1ms) SELECT "influencers".* FROM "influencers"
(0.9ms) SELECT COUNT(*) FROM "fans" INNER JOIN "fan_influencers" ON "fans"."id" = "fan_influencers"."fan_id" WHERE "fan_influencers"."influencer_id" = $1 [["influencer_id", 1]]
(0.7ms) SELECT COUNT(*) FROM "fans" INNER JOIN "fan_influencers" ON "fans"."id" = "fan_influencers"."fan_id" WHERE "fan_influencers"."influencer_id" = $1 [["influencer_id", 2]]
(1.0ms) SELECT COUNT(*) FROM "fans" INNER JOIN "fan_influencers" ON "fans"."id" = "fan_influencers"."fan_id" WHERE "fan_influencers"."influencer_id" = $1 [["influencer_id", 3]]
(1.3ms) SELECT COUNT(*) FROM "fans" INNER JOIN "fan_influencers" ON "fans"."id" = "fan_influencers"."fan_id" WHERE "fan_influencers"."influencer_id" = $1 [["influencer_id", 4]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment