Skip to main content

query_related_rows

Function query_related_rows 

Source
pub fn query_related_rows(
    adapter: &dyn DatabaseOperations,
    config: &DbBackendConfig,
    schema: &AppSchema,
    query: RelatedRowsQuery<'_>,
) -> Result<Vec<Map<String, Value>>, DatabaseError>
Expand description

Reads a bounded relationship set using the contract’s operand and result limits. Duplicate keys are removed before paging; no vendor query escapes the operation interface.