Function get

Source
pub async fn get<'a, E>(
    executor: E,
    company_id: i32,
    id: i64,
) -> Result<Message>
where E: Executor<'a, Database = Postgres>,
Expand description

Get message by id.

ยงErrors

Returns error if there was a problem while fetching message.