beanie
beanie copied to clipboard
Allow comparison operators for datetime
It would be great if it were possible to find documents by datetime field using comparison operators, e.g:
products = await Product.find(Product.date < datetime.datetime.now()).to_list()