apoc.static.getAll
Function Apoc Extended
apoc.static.getAll(prefix) - returns statically stored values from config (apoc.static.<prefix>.*) or server lifetime storage
Usage Examples
The examples in this section assume that we have the following entries in the APOC configuration file (conf/apoc.conf
):
apoc.static.twitter.bearer=ABCDEF apoc.static.twitter.url=https://api.twitter.com/1.1/search/tweets.json?count=100&result_type=recent&lang=en&q=
The following returns all values with the twitter
prefix:
RETURN apoc.static.getAll("twitter") AS value
value |
---|
{"bearer":"ABCDEF","url":"https://api.twitter.com/1.1/search/tweets.json?count=100&result_type=recent&lang=en&q="} |