Skip to main content

to_insertable_index

Function to_insertable_index 

Source
pub fn to_insertable_index(
    parameter: &ResolvedParameter,
    result: &[&dyn MetaValue],
) -> Result<InsertableIndex, OperationOutcomeError>
Expand description

Converts resolved search parameter values into an indexable representation.

Values that cannot be converted to the corresponding index type are skipped.

ยงErrors

Returns [OperationOutcomeError] if the search parameter has an unsupported or invalid type.