Skip to main content

encode_row_guard_key

Function encode_row_guard_key 

Source
pub fn encode_row_guard_key(table_name: &str, encoded_pk: &str) -> String
Expand description

Encode a row-guard key for optimistic foreign-key checks.

The format is rg:<table_name>:<encoded_pk>, where encoded_pk is the output of encode_pk.