surrealcs_kernel::logging::messages::transactions::id

Function get_transaction_index

source
pub fn get_transaction_index(id: &str) -> usize
Expand description

Gets the transaction index from the transaction ID.

§Arguments

  • id: The transaction ID

§Returns

The transaction index