Skip to content

Commit

Permalink
Fix analysis plugin SQL for updates (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmgaldi authored Apr 26, 2024
1 parent 08bf1aa commit cbd4618
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ public AnalysisRow newTableRow(ResultSet rs, DBPlatform platform) throws SQLExce
@Override
public String getWriteSql(String schema) {
return
"update " + _schema + ".analysis (study_id, analysis_descriptor, num_filters, num_computations, num_visualizations)" +
" values (?, ?, ?, ?, ?) where analysis_id = ?";
"update " + _schema + ".analysis set study_id = ?, " +
"analysis_descriptor = ?, num_filters = ?, num_computations = ?, num_visualizations = ? " +
"where analysis_id = ?";
}

@Override
Expand Down

0 comments on commit cbd4618

Please sign in to comment.