Skip to content

enum

Update

pub enum Update {
    Replace,
    Append,
    Upsert,
}

How a live message changes the data.

Variants

Replace

Replace

The message holds all the rows.

Append

Append

The message's rows are added at the end.

Upsert

Upsert

The message's rows replace those with the same key, and the rest are added.

Methods

parse

pub fn parse(s: &str) -> Option<Update>

The update mode s names: replace, append or upsert.

Trait implementations