src/orion/core/cli/checks/operations.py
def check_count(self):
        """Check if database supports count operation."""
        database = self.c_stage.instance

        count = database.count("test", {"index": "value"})

        if count != 1:
            raise CheckError("Expected 1 hit, received {}.".format(count))

        return "Success", ""
Check if database supports count operation.
Check if database supports count operation.
Check if database supports count operation .
def check_count(self):
        database = self.c_stage.instance
        count = database.count("test", {"index": "value"})
        if count != 1:
            raise CheckError("Expected 1 hit, received {}.".format(count))
        return "Success", ""
def check_count ( self ) : database = self . c_stage . instance count = database . count ( "test" , { "index" : "value" } ) if count != 1 : raise CheckError ( "Expected 1 hit, received {}." . format ( count ) ) return "Success" , ""
Check if database supports count operation.
Check if database supports count operation .
"""Check if database supports count operation."""
self