Neo4J's Cypher has a compatibility feature that lets you specify which Cypher version you want to use. ect, CYPHER 3.2 CREATE (:TEST)
. My queries are limited such that I know they are compatible with 3.0, 3.1, and 3.2 (3.* really). I want to make sure Neo4J will only run 3.*, but it seems I can only specify one or non.
One solution to support multiple versions is to try to run the query with each version set, until one doesn't throw an error, but that seems horribly crude/inefficient. So is there a better way to make Cypher queries run only 3.* or 3.0-3.2? (Better defined as I only need to ask Neo4J once to do the query, regardless of which version of Neo4J is actually being hit, and it just works or fails like if I only allowed 3.0)