Skip to main content

encode_cursor

Function encode_cursor 

pub fn encode_cursor(order: &str, values: &[Option<String>]) -> String
Expand description

Mint a cursor for order (the canonical effective sort, e.g. "-createdAt,id") from the last row’s per-column wire values; None is SQL NULL.