the biggest 1 line improvement ever
This commit is contained in:
parent
f2a3e836a0
commit
d11e7dd27c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user