Function deltachat::message::rfc724_mid_exists_ex

source ·
pub(crate) async fn rfc724_mid_exists_ex(
    context: &Context,
    rfc724_mid: &str,
    expr: &str,
) -> Result<Option<(MsgId, i64, bool)>>
Expand description

Returns MsgId and “sent” timestamp of the most recent message with given rfc724_mid (Message-ID header) and bool expr result if such messages exists in the db.

  • expr: SQL expression additionally passed into SELECT. Evaluated to true iff it is true for all messages with the given rfc724_mid.