How to print a variable on the MongoDB command line. Incredibly, I can't figure it out.
> var i = 0; > i 0 > print(i) 0 >
Use either as needed. It happens among the best;)