Skip to content

Commit dbe9c13

Browse files
committed
remove limits
1 parent 349ca69 commit dbe9c13

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/handlers.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,6 @@ pub async fn get_link_clicks(
707707
WHERE link_id = $1
708708
GROUP BY DATE(created_at)
709709
ORDER BY DATE(created_at) ASC
710-
LIMIT 30
711710
"#,
712711
)
713712
.bind(link_id)
@@ -724,7 +723,6 @@ pub async fn get_link_clicks(
724723
WHERE link_id = ?
725724
GROUP BY DATE(created_at)
726725
ORDER BY DATE(created_at) ASC
727-
LIMIT 30
728726
"#,
729727
)
730728
.bind(link_id)
@@ -789,7 +787,6 @@ pub async fn get_link_sources(
789787
AND query_source != ''
790788
GROUP BY DATE(created_at), query_source
791789
ORDER BY DATE(created_at) ASC, COUNT(*) DESC
792-
LIMIT 300
793790
"#,
794791
)
795792
.bind(link_id)
@@ -809,7 +806,6 @@ pub async fn get_link_sources(
809806
AND query_source != ''
810807
GROUP BY DATE(created_at), query_source
811808
ORDER BY DATE(created_at) ASC, COUNT(*) DESC
812-
LIMIT 300
813809
"#,
814810
)
815811
.bind(link_id)

0 commit comments

Comments
 (0)