Created
May 26, 2014 23:08
-
-
Save rtanglao/f01c9f544391e476cc98 to your computer and use it in GitHub Desktop.
find a piece of a url in a mongodb field
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db.photos.findOne({"url_sq" : {$regex : ".*548386304_8c12cfe51c_s.*"}}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this gist is flickr specific!