首页 > 解决方案 > 为 neo4j 中的所有集合附加默认前缀

问题描述

我在 Spring Boot 中使用社区版 Neo4j 4.2.4 来实现同一数据库中所有节点和关系(最多 5 个节点)的区域特定集合。

有没有办法为 neo4j 中的所有集合附加前缀,以便我可以保持集合特定于每个区域?我可以 DynamoDBMapperConfig.TableNameOverride.withTableNamePrefix(prefix + "_"); 在 dynamoDb中实现这一点

是否有任何等价物,或者是否需要更改数据模型才能在 neo4j 的社区版中实现?

谢谢!

标签: spring-bootneo4j

解决方案


推荐阅读