Skip to content

Instantly share code, notes, and snippets.

@TimHeckel
Created August 12, 2014 15:43
Show Gist options
  • Save TimHeckel/9114868cf2bbe22eb194 to your computer and use it in GitHub Desktop.
Save TimHeckel/9114868cf2bbe22eb194 to your computer and use it in GitHub Desktop.
oplog tailing query example
"query" : {
"ns" : {
"$regex" : "^edspringload\\."
},
"$or" : [
{
"op" : {
"$in" : [
"i",
"u",
"d"
]
}
},
{
"op" : "c",
"o.drop" : {
"$exists" : true
}
}
],
"ts" : {
"$gt" : Timestamp(1407817137, 3)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment