Function tidb_query_datatype::codec::datum::encode_key[][src]

pub fn encode_key(ctx: &mut EvalContext, values: &[Datum]) -> Result<Vec<u8>>

encode_key encodes a datum slice into a memory comparable buffer as the key.