Use mora instead of characters, e.g. しゅ

This commit is contained in:
Elnu 2023-04-14 18:51:01 -07:00
parent 4076a4c556
commit 96b97ca820
3 changed files with 55 additions and 19 deletions

View file

@ -47,7 +47,6 @@ impl Database {
}
pub fn load_words_before(&self, before_id: i64) -> Result<Vec<Word>> {
println!("{}", before_id);
self.conn
.prepare("SELECT id, word, reading, timestamp FROM word WHERE id < ? ORDER BY id DESC LIMIT 10")?
.query_map(params![before_id], |row| {