rfc724_mid_exists_ex

Function rfc724_mid_exists_ex 

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

Returns MsgId 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.