Collectives
Stats
Top backers
SELECT max(c.name) as backer, concat('https://opencollective.com/',max(c.slug)) as "backer profile",
sum(t."amount")/ 100 as "totalAmount", max(t.currency) as currency
FROM "Transactions" t
LEFT JOIN "Collectives" c ON c.id = t."FromCollectiveId"
WHERE t."CollectiveId"=19965
AND t.type='CREDIT'
AND t."deletedAt" IS NULL
GROUP BY t."FromCollectiveId"
ORDER BY "totalAmount" DESCRevenue breakdown per tier
SELECT max(t.name) as ticket, sum(o.quantity) as count,
sum("totalAmount") / 100 as "totalAmount", max(o.currency) as currency
FROM "Orders" o
LEFT JOIN "Tiers" t ON t.id = o."TierId"
WHERE o."CollectiveId"=19965
AND o.status='PAID'
AND o."deletedAt" IS NULL
GROUP BY o."TierId"Breakdown of expenses
Export
Export all backers of a collective with private data (user.email)
New collectives for the past XX and creator details
Expenses
Administration
Cancel all active subscriptions
Last updated