Version: 2022.1

QueryEngine<T0>.SetNestedQueryHandler

切换到手册
public void SetNestedQueryHandler (Func<string,string,IEnumerable<TNestedQueryData>> handler);

参数

handler The function that handles nested queries. It receives the nested query and the filter token on which the query is applied, and returns an IEnumerable.

描述

Sets the function that will handle nested queries. Only one handler can be set.

<typeparam name="TNestedQueryData">The type of data returned by the nested query.</typeparam>