Skip to main content

parse_mutation_row

Function parse_mutation_row 

Source
pub fn parse_mutation_row<S: BuildHasher>(
    row: &HashMap<String, Value, S>,
) -> Result<MutationOutcome>
Expand description

Parse a single row from execute_function_call into a MutationOutcome.

Expects the row to contain the standard app.mutation_response columns: status, message, entity, entity_type, cascade, metadata.

ยงErrors

Returns FraiseQLError::Validation if the status column is missing.