DML statements in disguise #21177
Unanswered
manticore-projects
asked this question in
DBeaver Development
Replies: 2 comments
-
Hello, @manticore-projects ! Please give us some time to check everything in our part and investigate this issue, and then we come back with more information for you. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello @manticore-projects Thank you for your request! We are always happy to cooperate. We discussed your proposal and decided that we would accept any option of changes in the library. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Greetings DBeaver Team,
we have gotten an interesting request: JSQLParser/JSqlParser#1550
From a previous discussion, I understand that you are interested in filtering DMLs and warn about them before executing.
For the example above, JSQLParser would show a Select/Query (instead of a DML) and so DBeaver likely would miss it.
My suggestion was, to amend each Statement with methods like
isDML()
orisDDL()
and to look up the true nature of the statement, showingisDML()==true
for the example above.Please feel welcome to define your requirements. I am drafting right now and looking for a most mutual useful API.
Beta Was this translation helpful? Give feedback.
All reactions