apoc.data.url

Function

apoc.data.url(url STRING) - turns a URL into a MAP.

Signature

apoc.data.url(url :: STRING) :: MAP

Input parameters

Name Type Default

url

STRING

null

Usage Examples

WITH apoc.data.url("https://www.neo4j.com/developer/graph-data-science?q=neo4j#heading-1") AS output
UNWIND keys(output) AS key
RETURN key, output[key] AS value;
Table 1. Results
key value

"path"

"/developer/graph-data-science"

"protocol"

"https"

"file"

"/developer/graph-data-science?q=neo4j"

"port"

NULL

"query"

"q=neo4j"

"anchor"

"heading-1"

"host"

"www.neo4j.com"

"user"

NULL