Get a Neo4j driver from various connection types.
Supports:
Example:
with get_connection("bolt://localhost:7687") as driver: ... with driver.session() as session: ... session.run("MATCH (n) RETURN n")
| Name | Type | Description |
|---|---|---|
conn* | Conn | Either a Driver instance or a connection string URI. |