TreeQuery<T>
type TreeQuery<T> =
| FindDescendantsQuery<T>
| FindAncestorsQuery<T>
| CountDescendantsQuery<T>
| CountAncestorsQuery<T>;
Defined in: rxdb-plugin-tree/src/query/tree-query.interface.ts:56
四支树查询任务的联合。
Type Parameters
| Type Parameter |
|---|
T extends EntityType |
Remarks
与 TreeQueryType 的双向一致性由
__tests__/contracts/tree-query-type-parity.spec.ts 钉死:这里加一支而
TREE_QUERY_TYPE_LIST 没加(或反过来),那条断言编译失败。