Skip to content

Instantly share code, notes, and snippets.

@wytten
Created April 1, 2014 16:00
Show Gist options
  • Select an option

  • Save wytten/9917149 to your computer and use it in GitHub Desktop.

Select an option

Save wytten/9917149 to your computer and use it in GitHub Desktop.
import com.gmongo.GMongo
def gmongo = new GMongo('localhost:27017')
def db = gmongo.getDB('nucleus')
db.GroovyScriptResult.find([name: ~/Finance/, version: 'trunk', database: [ $ne:'opsd' ]]).each {
println it
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment