Postgresql Nested Aggregate Functions In Mongodb What Of Use Instead Of Sysdate