Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. # pymongo {{tag>python mongodb}} ### gte <code> link_doc = self.BRAND_LINK_DB.find_one( {'$and': [ {'brand_name': self.brand_name}, {'model': model}, {'updated_at': {'$gte': datetime.datetime.now() - datetime.timedelta(days=3)}} ]}, ) </code> open/pymongo.txt Last modified: 2024/10/05 06:15by 127.0.0.1