Today's Update

Posted by Ligar Mugi Syahid on October 07, 2022
1 min read · Last Modified: January 21, 2024

Useful codes

get random mongodb entry

@Aggregation(pipeline={"{$sample:{size:1}}"})

aggregation match

@Aggregation(pipeline = {
        "{'$match':{'transaction_type': ?0, 'price' : {$gt : ?1}}",
})

Tags: [ todo  ]