mirror of
https://github.com/chatmail/core.git
synced 2026-04-20 15:06:30 +03:00
Rename query_row_col to query_get_value
Since function `query_row_col` no longer accept column number argument, it is misleading to mention column in its name.
This commit is contained in:
@@ -754,7 +754,7 @@ pub fn handle_degrade_event(context: &Context, peerstate: &Peerstate) {
|
||||
if Some(DegradeEvent::FingerprintChanged) == peerstate.degrade_event {
|
||||
let contact_id: i32 = context
|
||||
.sql
|
||||
.query_row_col(
|
||||
.query_get_value(
|
||||
context,
|
||||
"SELECT id FROM contacts WHERE addr=?;",
|
||||
params![&peerstate.addr],
|
||||
|
||||
Reference in New Issue
Block a user