GeezerVison is showing github.com — How to retrieve updateSets of InsertConflictAction · Issue #1630 · JSQLParser/JSqlParser
How to retrieve updateSets of InsertConflictAction #1630
Description
Code: InsertConflictAction.java
There is no public method to get variable "updateSets".
public class InsertConflictAction {
ConflictActionType conflictActionType;
private final ArrayList<UpdateSet> updateSets = new ArrayList<>();
Expression whereExpression;
...
}
InsertConflictAction conflictAction = insert.getConflictAction();
Missing method ==> conflictAction.getUpdateSets() ?
Activity
manticore-projects commented on Sep 15, 2022
Greetings.
There is no public method to get variable "updateSets".
There certainly is in JSQLParser 4.6 SNAPSHOT:

What version of JSQLParser are you using please.
You can try it online here
leotu commented on Sep 15, 2022
manticore-projects commented on Sep 15, 2022
Apologies, I have checked the code and indeed a public Getter is missing.
I would add it asap and issue a PR.
Thank you for notifying!
added a commit that references this issue
on Sep 15, 2022This issue will close once commit 09c2fb7 is merged into the 'master' branch.09c2fb7 manticore-projects commented on Sep 15, 2022
added a commit that references this issue
on Sep 20, 2022This issue will close once commit d221277 is merged into the 'master' branch.d221277 added a commit that references this issue
on Oct 16, 2022This issue will close once commit 15ff843 is merged into the 'master' branch.15ff843 added a commit that references this issue
on Nov 20, 2022This issue will close once commit bff268a is merged into the 'master' branch.bff268a added a commit that references this issue
on Dec 22, 2022This issue will close once commit 8d9db70 is merged into the 'master' branch.8d9db70 added a commit that references this issue
on Jan 31, 2023This issue will close once commit 2ced7de is merged into the 'master' branch.2ced7de
Metadata
Metadata
Development
No branches or pull requestsIssue actions