Skip to content

Instantly share code, notes, and snippets.

@jergason
Last active September 28, 2015 16:50
Show Gist options
  • Save jergason/c119dfd76fa641d0d67c to your computer and use it in GitHub Desktop.
Save jergason/c119dfd76fa641d0d67c to your computer and use it in GitHub Desktop.
r.db("rethinkdb").table("jobs").filter(function(job) {
return job('info')('query').match('r\.db\("rethinkdb"\)\n \.table\("jobs"\)').not()
})
{
"duration_sec": 0.000086 ,
"id": [
"query" ,
"04c159e8-9da7-40b0-9ae7-098027600492"
] ,
"info": {
"client_address": "::1" ,
"client_port": 51945 ,
"query": `r.db("rethinkdb")
.table("jobs")
.filter(function (var113) {
return r.not(var113("info")("query")
.match("r.db("rethinkdb")
.table("jobs")"));
})`
} ,
"servers": [
"vorpal_yum"
] ,
"type": "query"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment