feat: separate sql
This commit is contained in:
6
backend/app/sql/recent_pairs.sql
Normal file
6
backend/app/sql/recent_pairs.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
select
|
||||
listing_a_id,
|
||||
listing_b_id
|
||||
from {elo_schema}.comparisons
|
||||
order by created_at desc
|
||||
limit 20
|
||||
Reference in New Issue
Block a user