apoc.config.map

过程 Apoc 扩展

apoc.config.map | 以映射形式列出 Neo4j 配置

签名

apoc.config.map() :: (value :: MAP?)

输出参数

名称 类型

MAP?

使用示例

CALL apoc.config.map()
YIELD value
WITH [key in keys(value) WHERE not(key STARTS WITH "apoc")] AS keys, value
RETURN apoc.map.clean(value, keys, []) AS value;
表 1. 结果

{apoc.uuid.enabled: "false", apoc.import.file.allow_read_from_filesystem: "true", apoc.ttl.enabled: "true", apoc.trigger.enabled: "false", apoc.ttl.limit: "1000", apoc.import.file.enabled: "false", apoc.ttl.schedule: "PT1M", apoc.export.file.enabled: "false", apoc_ttl_enabled: "true", apoc.import.file.use_neo4j_config: "true"}

请注意,此过程仅获取以下配置,以避免检索敏感数据

  • apoc.import.file.enabled,

  • apoc.import.file.use_neo4j_config,

  • apoc.import.file.allow_read_from_filesystem,

  • apoc.export.file.enabled,

  • apoc.trigger.enabled,

  • apoc.trigger.refresh,

  • apoc.uuid.enabled,

  • apoc.uuid.enabled.<databaseName>,

  • apoc.ttl.enabled,

  • apoc.ttl.enabled.<databaseName>,

  • apoc.ttl.schedule

  • apoc.ttl.limit

  • apoc.jobs.scheduled.num_threads,

  • apoc.jobs.pool.num_threads,

  • apoc.jobs.queue.size

  • apoc.http.timeout.connect

  • apoc.http.timeout.read

  • apoc.custom.procedures.refresh

  • apoc.spatial.geocode.osm.throttle

  • apoc.spatial.geocode.google.throttle

© . This site is unofficial and not affiliated with Neo4j, Inc.