notes on the mongo query system