In the recent version of Neo4j-Spark connector (4.0.0) there is an example in the official documentation which demonstrates reading from Neo4j using spark (here):
import org.apache.spark.sql.{SaveMode, SparkSession}
val spark = SparkSession.builder().getOrCreate()
spark.read.format("org.neo4j.spark.DataSource")
.option("url", "bolt://localhost:7687")
.option("labels", "Person")
.load()
.show()
Imagine i have several databases running on "bolt://localhost:7687". I wonder how i can specify the database name which i want to read the data from. Does this connector even supports this kind of transaction?