Skip to content

Commit

Permalink
add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
fzhao99 committed Oct 30, 2024
1 parent 7a00299 commit 7542eff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions query-connector/src/app/database-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,9 @@ export async function insertValueSet(vs: ValueSet) {
function generateValueSetSqlPromise(vs: ValueSet) {
const valueSetOid = vs.valueSetExternalId;

// TODO: based on how non-VSAC valuests are shaped in the future, we may need
// to update the ID scheme to have something more generically defined that
// don't rely on potentially null external ID values.
const valueSetUniqueId = `${valueSetOid}_${vs.valueSetVersion}`;
const insertValueSetSql =
"INSERT INTO valuesets VALUES($1,$2,$3,$4,$5,$6) RETURNING id;";
Expand Down

0 comments on commit 7542eff

Please sign in to comment.