From dbe9c13235de00334059e51c22d95fe5a56eff6f Mon Sep 17 00:00:00 2001 From: waveringana Date: Fri, 11 Apr 2025 01:56:15 -0400 Subject: [PATCH] remove limits --- src/handlers.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/handlers.rs b/src/handlers.rs index 0e4f16e..fea6e3a 100644 --- a/src/handlers.rs +++ b/src/handlers.rs @@ -707,7 +707,6 @@ pub async fn get_link_clicks( WHERE link_id = $1 GROUP BY DATE(created_at) ORDER BY DATE(created_at) ASC - LIMIT 30 "#, ) .bind(link_id) @@ -724,7 +723,6 @@ pub async fn get_link_clicks( WHERE link_id = ? GROUP BY DATE(created_at) ORDER BY DATE(created_at) ASC - LIMIT 30 "#, ) .bind(link_id) @@ -789,7 +787,6 @@ pub async fn get_link_sources( AND query_source != '' GROUP BY DATE(created_at), query_source ORDER BY DATE(created_at) ASC, COUNT(*) DESC - LIMIT 300 "#, ) .bind(link_id) @@ -809,7 +806,6 @@ pub async fn get_link_sources( AND query_source != '' GROUP BY DATE(created_at), query_source ORDER BY DATE(created_at) ASC, COUNT(*) DESC - LIMIT 300 "#, ) .bind(link_id)