Skip to content

Instantly share code, notes, and snippets.

@nazt
Created August 7, 2009 13:33
Show Gist options
  • Select an option

  • Save nazt/163896 to your computer and use it in GitHub Desktop.

Select an option

Save nazt/163896 to your computer and use it in GitHub Desktop.
sql.eachRow("select * from probe_c9488878_1day ") {
if(map."${it.gid}"==null)
{
map."${it.gid}"=[]
}
map."${it.gid}"<< it
}
map.each { k,v-> println k }
map['19981'].each { println it.lat}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment