Skip to main content

NO_PROPS

Constant NO_PROPS 

Source
pub const NO_PROPS: &[u8];
Expand description

What to pass as the properties of a node or an edge that has none.

An edge still needs a document, because the property store is keyed by the edge slot and a slot with nothing under it would be a slot that later reads have to guard against. This is the four bytes that document is, so a caller with nothing to say does not have to run a Builder to say it.