Files
koios/docs/tools/neo4j/breaking-changes.md
Robert Helewka 703b3402d4 docs(readme): update assistant roster, prompt layers, repo structure
- Update assistant lists (added Shawn, Watson, David, CASE, AWS SA; modified Scotty/Harper roles)
- Reflect new architecture layers: Tool Prompt Snippets and Shared Context
- Align repository structure diagram with current filesystem layout
2026-05-20 22:50:22 -04:00

744 B

Neo4j Version Compatibility Notes

Neo4j had significant breaking changes between version 4.x and 5.x regarding schema introspection:

Neo4j 5.x+ (current):

  • Use SHOW INDEXES instead of CALL db.indexes()
  • Use SHOW CONSTRAINTS instead of CALL db.constraints()
  • Use CALL db.schema.visualization() for full schema (works in both versions)

Neo4j 4.x and earlier:

  • Use CALL db.indexes()
  • Use CALL db.constraints()

Safe queries that work across versions:

  • CALL db.schema.visualization() - Full schema visualization
  • CALL db.labels() - Get all node labels
  • CALL db.relationshipTypes() - Get all relationship types

When querying indexes or constraints, prefer the SHOW commands for Neo4j 5+ environments.