Compare commits
No commits in common. "3c0b8e51143110872d13a640b72e4446cfa273ff" and "a8c02829180c5872b9e5e943af901d5cb1cd3bae" have entirely different histories.
3c0b8e5114
...
a8c0282918
@ -486,8 +486,6 @@ WHERE id like ?
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub async fn find_by_name(db: &SqlitePool, name: &str) -> Option<Self> {
|
pub async fn find_by_name(db: &SqlitePool, name: &str) -> Option<Self> {
|
||||||
let name = name.trim().to_lowercase();
|
|
||||||
|
|
||||||
sqlx::query_as!(
|
sqlx::query_as!(
|
||||||
Self,
|
Self,
|
||||||
"
|
"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user