Use mora instead of characters, e.g. しゅ
This commit is contained in:
parent
4076a4c556
commit
96b97ca820
3 changed files with 55 additions and 19 deletions
|
@ -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| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue