* Nodes whose name CONTAINS `substring` (LIKE scan, ASCII-case-insensitive, * shortest-first). The camel-infix lookup FTS can't do — `profileInfo` * inside `getProfileInfoV2` is one FTS token (#1196).
(
substring: string,
options: { kinds?: NodeKind[]; limit?: number; excludePrefix?: boolean } = {}
)
| 2735 | * inside `getProfileInfoV2` is one FTS token (#1196). |
| 2736 | */ |
| 2737 | getNodesByNameSubstring( |
| 2738 | substring: string, |
| 2739 | options: { kinds?: NodeKind[]; limit?: number; excludePrefix?: boolean } = {} |
| 2740 | ): Node[] { |
| 2741 | return this.queries |
| 2742 | .findNodesByNameSubstring(substring, options) |
| 2743 | .map((r) => r.node); |
| 2744 | } |
| 2745 | |
| 2746 | /** |
| 2747 | * Search nodes by text |
no test coverage detected