Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
--MongoDB or other databases
select
'db.foo.findOne({_id: ObjectId("' || _id || '")})'
from foo;
--db.foo.find({_id: ObjectId("5066fa4abd8ad53408a4869c")})
--web based (great for spidering)
select
'http://www.yelp.com/search?find_loc=Manhattan%2C+NY&ns=1&find_desc=' || name as url
from
restaurants;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.