Skip to content

Instantly share code, notes, and snippets.

@johnymontana
Created December 21, 2018 05:20
Show Gist options
  • Save johnymontana/8b9a99a7305406add33b898c7f2d86f8 to your computer and use it in GitHub Desktop.
Save johnymontana/8b9a99a7305406add33b898c7f2d86f8 to your computer and use it in GitHub Desktop.
CALL apoc.load.json("file:///Users/lyonwj/Desktop/users_000001.json") YIELD value
MERGE (u:User {url: value.url})
SET u += value {created_at: DateTime(value.created_at), .avatar_url, .website, .name, .bio, .company, .location, .login}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment