public static function deleteMany(array $ids = array(), $connection)
    {
        if (!is_array($ids)) {
            throw new ClusterpointException("\"->deleteMany()\" function: \"_id\" is not in valid format.", 9002);
        }
        $connection->method = 'DELETE';
        $connection->action = '';

        // force strings! REST hates DELETE with integers for now...
        foreach ($ids as &$id) {
            $id = (string)$id;
        }
        $connection->query = json_encode($ids);
        return self::sendQuery($connection);
    }