Skip to main content

upsert

Function upsert 

Source
pub(crate) fn upsert(
    state: &AppState,
    agent: &str,
    site: &str,
    kinds: &[String],
) -> Result<Row, String>
Expand description

Add a row, or change the kinds of the one for this agent and site. The caller has checked that the person is the one asking.