the biggest 1 line improvement ever
This commit is contained in:
		@@ -163,7 +163,7 @@ async fn get_uncrawled_links(
 | 
			
		||||
    debug!("Getting uncrawled links");
 | 
			
		||||
 | 
			
		||||
    let mut response = db
 | 
			
		||||
        .query("SELECT * FROM website WHERE crawled = false AND site CONTAINS type::string($format) LIMIT $count;")
 | 
			
		||||
        .query("SELECT * FROM website WHERE crawled = false AND site ~ type::string($format) LIMIT $count;")
 | 
			
		||||
        .bind(("format", filter))
 | 
			
		||||
        .bind(("count", count))
 | 
			
		||||
        .await
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user