Changeset ff3a614 for database/drizzle/util/reports.ts
- Timestamp:
- 03/05/26 11:31:19 (4 months ago)
- Branches:
- main
- Parents:
- 41825d5
- File:
-
- 1 edited
-
database/drizzle/util/reports.ts (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
database/drizzle/util/reports.ts
r41825d5 rff3a614 11 11 console.table(r1.rows); 12 12 13 const r2 = await db.execute(sql`SELECT * FROM get_report_user_ leaderboard()`);13 const r2 = await db.execute(sql`SELECT * FROM get_report_user_reputation_leaderboard()`); 14 14 console.log('--- User Reputation Leaderboard ---'); 15 15 console.table(r2.rows); 16 16 17 const r3 = await db.execute(sql`SELECT * FROM get_report_price_ performance()`);17 const r3 = await db.execute(sql`SELECT * FROM get_report_price_to_performance()`); 18 18 console.log('--- Price-to-Performance Analysis ---'); 19 19 console.table(r3.rows); 20 20 21 const r4 = await db.execute(sql`SELECT * FROM get_report_budget_tier ()`);21 const r4 = await db.execute(sql`SELECT * FROM get_report_budget_tier_popularity()`); 22 22 console.log('--- Budget Tier Popularity ---'); 23 23 console.table(r4.rows);
Note:
See TracChangeset
for help on using the changeset viewer.
