Skip to main content

pad_seq

Function pad_seq 

Source
pub fn pad_seq(seq: u64) -> String
Available on crate feature serve and (crate features serve-history-postgres or serve-history-sqlite) only.
Expand description

Zero-pad a run-log sequence to a fixed 20 digits (the width of u64::MAX) so it sorts lexically = numerically as a TEXT column (#529).