| 3 |
"query": "\n SELECT DISTINCT t.seller_id AS \"seller_id!: UserId\", u.username, u.display_name\n FROM transactions t\n JOIN users u ON u.id = t.seller_id\n WHERE t.buyer_id = $1\n AND t.status = 'completed'\n AND t.share_contact = true\n AND NOT EXISTS (\n SELECT 1 FROM contact_revocations cr\n WHERE cr.buyer_id = t.buyer_id AND cr.seller_id = t.seller_id\n )\n ORDER BY u.username\n LIMIT 500\n ", |