Skip to content

Instantly share code, notes, and snippets.

@TimHeckel
Created August 12, 2014 15:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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