Commit e0d6cca
Your Name
feat(cypher): resolve unknown properties from JSON properties_json
node_prop() previously returned empty string for any property not in the
hardcoded column list (name, qualified_name, label, file_path, start_line,
end_line). Now falls through to json_extract_prop() on the node's
properties_json field for unknown properties.
Enables Cypher queries like:
WHERE n.is_entry_point = 'true'
WHERE n.is_test = '1'
WHERE n.confidence > '0.5'
Also adds 'file' as an alias for 'file_path' and 'id' for the node ID.
Tested: 'MATCH (n:Function) WHERE n.is_entry_point = true' returns 10
controller handlers (previously 0).1 parent 0d05b0a commit e0d6cca
1 file changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1561 | 1561 | | |
1562 | 1562 | | |
1563 | 1563 | | |
| 1564 | + | |
| 1565 | + | |
| 1566 | + | |
1564 | 1567 | | |
1565 | 1568 | | |
1566 | 1569 | | |
| |||
1588 | 1591 | | |
1589 | 1592 | | |
1590 | 1593 | | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
1591 | 1612 | | |
1592 | 1613 | | |
1593 | 1614 | | |
| |||
0 commit comments