Skip to content

Instantly share code, notes, and snippets.

@freeeve
Last active December 31, 2015 12:09
Show Gist options
  • Save freeeve/7984672 to your computer and use it in GitHub Desktop.
Save freeeve/7984672 to your computer and use it in GitHub Desktop.
val allCountries = Cypher("match (n) where n.type = 'Country' return n.code as code, n.name as name")
val countries = allCountries.apply().map(row =>
(row[String]("code"), row[String]("name"))
).toList
Copy link

ghost commented Dec 16, 2013

Thanks :) I really appreciate you take time to help a rookie like me !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment