Skip to main content

cursor_scalar

Function cursor_scalar 

pub fn cursor_scalar<T>(value: &T) -> Result<Option<String>, CratestackError>
where T: Serialize + ?Sized,
Expand description

Render one ordering-column value as its cursor wire string through serde (DateTime → RFC 3339, Uuid → hyphenated, numbers → decimal). None for SQL NULL. Arrays/objects are not orderable scalars.