apoc.static.get
This is the APOC Extended documentation. APOC Extended is not supported by Neo4j. For the officially supported APOC Core, go to the APOC Core page. |
Function Apoc Extended
apoc.static.get(name) - returns statically stored value from config (apoc.static.<key>) 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 the apoc.static.twitter.bearer
value:
RETURN apoc.static.get("twitter.bearer") AS value;
value |
---|
"ABCDEF" |