beanie icon indicating copy to clipboard operation
beanie copied to clipboard

Allow comparison operators for datetime

Open rdfsx opened this issue 3 years ago • 0 comments

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()

rdfsx avatar May 14 '22 11:05 rdfsx