Skip to main content

count_or_zero

Function count_or_zero 

Source
pub fn count_or_zero<'de, D>(deserializer: D) -> Result<i64, D::Error>
where D: Deserializer<'de>,
Expand description

Read a counter that a record may predate.

SurrealDB renders a field an older record never had as absent under SELECT * and as null under a projection; both mean the same thing here, and both mean zero.