apoc.static.list
过程 Apoc 扩展
apoc.static.list(prefix) - 返回配置中静态存储的值 (apoc.static.<prefix>.*) 或服务器生命周期存储
使用示例
本节中的示例假设我们已先使用 apoc.static.set 将值存储在内存中
CALL apoc.static.set("twitter.user", "Michael");
CALL apoc.static.set("twitter.username", "mesirii");
以下内容返回
twitter 前缀下的所有静态值CALL apoc.static.list("twitter");
| 键 (key) |
|---|
值 |
"user" (用户) |
“Michael” |
"username" |
"mesirii" |