MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / throwsRelation

Function throwsRelation

graph-ui/src/provider/cypher.ts:394–398  ·  view source on GitHub ↗
(qualifiedName: string, limit = DEFAULT_LIMIT)

Source from the content-addressed store, hash-verified

392 * query cannot cover both, because a pattern carries at most one relation type.
393 */
394export 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

Callers 1

throwsFactMethod · 0.90

Calls 3

escapeLiteralFunction · 0.85
retFunction · 0.85
safeLimitFunction · 0.85

Tested by

no test coverage detected