mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
updated home page
This commit is contained in:
@@ -73,5 +73,9 @@ class DbManager(object):
|
||||
return item.get('version')
|
||||
return None
|
||||
|
||||
def aggregate(self, col_name: str, pipelines, **kwargs):
|
||||
col = self.db[col_name]
|
||||
return col.aggregate(pipelines, **kwargs)
|
||||
|
||||
|
||||
db_manager = DbManager()
|
||||
|
||||
Reference in New Issue
Block a user