def findStaticsByProject_id(project_id, counter_name): if not MongoEngineUtil.ceilo_collection: MongoEngineUtil.__init_mongo_connector() modelList = Statistics300.objects(project_id=project_id, counter_name=counter_name) return modelList
def findStaticsByResource_idAndCounter_name(resource_id, counter_name): if not MongoEngineUtil.ceilo_collection: MongoEngineUtil.__init_mongo_connector() modelList = Statistics300.objects(resource_id=resource_id, counter_name=counter_name) return modelList
def findStaticsByProject_id(project_id,counter_name): if not MongoEngineUtil.ceilo_collection: MongoEngineUtil.__init_mongo_connector() modelList=Statistics300.objects(project_id=project_id,counter_name=counter_name); return modelList
def findStaticsByResource_idAndCounter_name(resource_id,counter_name): if not MongoEngineUtil.ceilo_collection: MongoEngineUtil.__init_mongo_connector() modelList=Statistics300.objects(resource_id=resource_id,counter_name=counter_name); return modelList