Alex Hughes || microfeeds:

You can have them fresh on your plate everyday using your favourite feed reader: 'http://microfeed.ahughes.org/feed.php'

Special thanks to my friend and colleague Karen for the 5 minute godly touches on my horrible CSS file.

 

MongoDB Integer Force-Feeding

When using the terminal interface to query a collection within a database in MongoDB, you will find it amusing that all numbers are treated as doubles by default, at least in newer versions.

There is nothing really wrong with that, but if you wrote your code when this was not the default setting, you are in need of a way to force-feed MongoDB an integer.

Well, it is not that difficult in the end. Just use the

NumberInt(117) function,
where instead of 117 you pass your desired integer.

Cheers!

Thu Feb 20th, 00:46:11 Greenwich Mean Time (GMT)

More Feeds

Microfeed is proudly powered by Microfeed. MicrofeedCeption.