Add type field
This commit is contained in:
@@ -35,7 +35,8 @@ class MongoService:
|
||||
except Exception as e:
|
||||
logger.log_info(e)
|
||||
|
||||
def find_by_date(self, collection: str, filters: dict = None, timestamp_field: str = "created_at",
|
||||
def find_by_date(self, collection: str,
|
||||
filters: dict = None, timestamp_field: str = "created_at",
|
||||
start_time: int = None, end_time: int = None):
|
||||
try:
|
||||
collection = self._db[collection]
|
||||
|
||||
Reference in New Issue
Block a user