Skip to main content

mutate_catalog

Function mutate_catalog 

pub fn mutate_catalog(
    adapter: &dyn DatabaseOperations,
    config: &DbBackendConfig,
    schema: &AppSchema,
    actor_id: i64,
    slug: &str,
    action: &str,
    input: &Map<String, Value>,
) -> Result<(), DatabaseError>
Expand description

Applies existing business form rules to a bounded catalog view, then commits only changed declared rows. The view is transient and never read from or written to the app’s JSON state file.