Fetch data from two dates query in python and mongoengine

mahesh d mahesh.tech88 at gmail.com
Fri Aug 24 01:05:24 EDT 2018


Hii
My model like this
class ProcessedEmails(Document):
  subject = StringField(max_length=200)
fromaddress =StringField(max_length=200)
 dateofprocessing = StringField(max_length=25)
How can find out the records between two dates ??
Note: date of processing is string field
 Mongodb database using .
How to write the query in python by using mongoengine

Thanks
Mahesh D.



More information about the Python-list mailing list