Skip to main content

JOIN_SCOPE

Static JOIN_SCOPE 

Source
pub static JOIN_SCOPE: LocalKey<u64>
Expand description

Join scope id baked into the current sql step at load time.

Baked per joined step, not per block: the step compares this id with BlockSession::scope to prove it is joining its own block. Read it through JoinScope::current.