def METHOD_NAME(self, layer):
    """Get database settins
    :param layer: layer number
    :return: (driver, database)
    """
    return self.layers[layer]["driver"], self.layers[layer]["database"]