Please forgive my Cypher
newbie ignorance -- even after a year and a half, I just do not grok how Cypher
returns results.
The task at hand is to export a .json
file whose contents are the result of SHOW INDEXES
. Presumably I can use the same approach to create another .json
file containing the result of SHOW CONSTRAINTS
.
I sort-of understand how to use MATCH
and MERGE
to provide temporary variable names that I can pass along using WITH
and RETURN
. I find nothing in the documentation for SHOW INDEXES
that indicates the type and use of its results.
I'm hoping that one of you can provide a Cypher
string that emits the results of SHOW INDEXES
to a JSON file. I've tried a few alternatives and I clearly don't understand what's going on.