mirror of
https://github.com/patarapolw/cjdic2.git
synced 2026-11-09 17:39:35 +00:00
plan search db
This commit is contained in:
1 parent
ec14023c04
commit
a97da3fa1d
6 files changed
+61
-23
No files matched your search
@@ -91,7 +91,7 @@ impl AppService {
|
||||
) -> Result<serde_json::Value, CJDicError> {
|
||||
let _timer = Timer::new(sql.to_string());
|
||||
|
||||
let conn = self.db.conn.lock().unwrap();
|
||||
let conn = self.db.conn.lock()?;
|
||||
let converted_params: Vec<_> = params
|
||||
.into_iter()
|
||||
.map(|p| match p {
|
||||
|
||||
Reference in new issue
Block a user