Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-closeable X dev session #104

Closed

Conversation

danielkec
Copy link

Make XDev API Session autocloseable:

try (Session session =  client.getSession()) {
    Result result = session.getSchema(schema).getCollection(collection)
            .remove("name like :name")
            .bind("name", name)
            .execute();

    res.send("Deleted " + result.getAffectedItemsCount() + " docs.");
}

@mysql-oca-bot
Copy link

Hi, thank you for submitting this pull request. In order to consider your code we need you to sign the Oracle Contribution Agreement (OCA). Please review the details and follow the instructions at https://oca.opensource.oracle.com/
Please make sure to include your MySQL bug system user (email) in the returned form.
Thanks

@danielkec
Copy link
Author

image

@mysql-oca-bot
Copy link

Hi, there was no response to our request to sign an OCA or confirm the code is submitted under the terms of the OCA. As such this request will be closed.
Thanks

@fjssilva
Copy link
Contributor

Handled via feature request https://bugs.mysql.com/bug.php?id=114846.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants