mirror of
https://github.com/patarapolw/cjdic2.git
synced 2026-11-09 17:39:35 +00:00
12 lines
280 B
Rust
12 lines
280 B
Rust
use anyhow::Ok;
|
|
use cjdic2_core::db::search_yomitan;
|
|
use rusqlite::Connection;
|
|
|
|
fn main() -> Result<(), anyhow::Error> {
|
|
let conn = &mut Connection::open("test.db")?;
|
|
let rs = search_yomitan(conn, "食べる", "食べる", 5, 0)?;
|
|
println!("{:#?}", rs);
|
|
|
|
Ok(())
|
|
}
|