Skip to main content

create

Function create 

Source
pub async fn create<S: StorageAdapter>(
    storage: &S,
    class_name: &str,
    body: ParseMap,
    scope: &AclScope,
) -> Result<CreateResponse, ParseError>
Expand description

Create an object.

Order matters and is upstream’s: validate the schema before writing, persist the schema change only after the row commits. A schema applied before a failed write leaves a phantom column that no later write can remove.