pub fn write(
conn: &Connection,
stored: &Snapshot,
ents: &[Ent],
now: &str,
) -> Result<String, String>Expand description
Persist ents as the new state. Must run inside a write transaction. Only rows
whose content, position or history changed are touched. Returns the new token
(the current one, unchanged, when nothing differs).