Skip to main content

replace

Function replace 

Source
pub fn replace(data: Value) -> Value
Expand description

Replace the payload (before_create/before_update) or the response body (any after_* hook) with data.