Skip to main content

primary_key_leaf_index

Function primary_key_leaf_index 

Source
pub(crate) fn primary_key_leaf_index(schema: &SchemaDescriptor) -> Option<usize>
Expand description

Returns the leaf index of the top-level __primary_key column. A leaf name alone also matches nested fields, such as a JSON child named __primary_key.