Skip to main content

slot_of

Function slot_of 

Source
pub fn slot_of(exec_id: &ExecutionId, _cfg: &PartitionConfig) -> i16
Expand description

Map an ExecutionId to its partition slot under the deployment’s PartitionConfig. The i16 return matches the column type on every partitioned table in migrations/0001_initial.sql.