예제 #1
0
    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
예제 #2
0
    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
예제 #3
0
    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
예제 #4
0
    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