Function mentat_ffi::store_entity_builder_from_temp_id [] [src]

#[no_mangle]
pub unsafe extern "C" fn store_entity_builder_from_temp_id(
    store: *mut Store,
    temp_id: *const c_char
) -> *mut ExternResult

Starts a new transaction and creates a builder for an entity with tempid using the transaction to allow for programmatic assertion of values for that entity.

Safety

Callers are responsible for managing the memory for the return value. A destructor entity_builder_destroy is provided for releasing the memory for this pointer type.