A Couple of MongoDB Limericks

Today is World Poetry Day, so we’ve taken a leaf out of Phil‘s book and wrote a couple of MongoDB limericks – executable and all – in JSON query syntax.Studio 3T, It Must Be
db.companies.find({ “country” : “Germany”, “number_employees” : { “$gt” : NumberInt(3) }, “office_sport” : “Ping-Pong”, “takes_coffee” : “long”, “favorite_database” : “MongoDB” })
Someone Do a Chicken Run db.manatee.insertOne({ "lunch.fastfood" : "Someone do a chicken run!"}); db.manatee.insertMany( ["coffee" : "always", "chocolates": "any"] {writeConcern: {"dont have" : 1}})If you’re feeling nerdy (or poetic), have a go at writing your own and tweet or share your limerick below. We’ll give away a copy of The Collected Poems (if you’re not a Wallace Stevens fan, then an Amazon voucher of equivalent value – trouble is it’s only about $16) to whoever elicits the strongest emotional response from our devs.

Leave a Comment

Your email address will not be published.

You may use these HTML tags and attributes: <a href=""> <abbr> <acronym> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>