(qualifiedName: string, limit = DEFAULT_LIMIT)
| 392 | * query cannot cover both, because a pattern carries at most one relation type. |
| 393 | */ |
| 394 | export function throwsRelation(qualifiedName: string, limit = DEFAULT_LIMIT): string { |
| 395 | return `MATCH (a)-[r:${RELATIONS.throwDeclaration}]->(b)` |
| 396 | + ` WHERE a.${NODE_PROPS.qualifiedName} = "${escapeLiteral(qualifiedName)}"` |
| 397 | + ` ${ret(COLUMNS.raises)} LIMIT ${safeLimit(limit)}`; |
| 398 | } |
| 399 | |
| 400 | /** |
| 401 | * Environment values a symbol reads. The engine models an environment read as |
no test coverage detected