neo4j-contrib / neomodel

An Object Graph Mapper (OGM) for the Neo4j graph database.
https://neomodel.readthedocs.io
MIT License
936 stars 231 forks source link

Provide "light" options for inspection script #767

Closed mariusconjeaud closed 8 months ago

mariusconjeaud commented 9 months ago

As it is, the inspection script is very complete, up to trying to guess relationship cardinality by observing the data.

Some of the operations it requires might take a long time on a big database.

It would be interesting to assess which ones are heavy and provide options to skip them (especially thinking about the relationship cardinality one).

mariusconjeaud commented 9 months ago

Also, add in the docs that if --db is omitted, it will read from env variable NEO4J_BOLT_URL