-
Notifications
You must be signed in to change notification settings - Fork 84
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
Add UpdateByTable QST #2609
Add UpdateByTable QST #2609
Conversation
Table updateBy(@NotNull Collection<? extends UpdateByClause> operations, | ||
@NotNull Collection<? extends Selectable> byColumns); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: I left this out of your original review (b/c it was easy for me to add in this PR); but from a QST point of view, I need to be able to call updateBy w/ these exact parameters. Usage in TableAdapterImpl.
@@ -517,6 +519,23 @@ TOPS raj(TABLE rightTable, Collection<? extends JoinMatch> columnsToMatch, | |||
|
|||
// ------------------------------------------------------------------------------------------- | |||
|
|||
TOPS updateBy(UpdateByClause operation); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the JavaDoc be lifted up to here, rather than on Table
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe? At least right now, the javadoc refers to #getRowSet
which isn't a concept at the TableOperations level. We've been a bit inconsistent in these regards - some of the TableOperations have javadoc, others just on Table.
Fixes #2608