Skip to content

Commit

Permalink
some extra whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
fzhao99 committed Oct 23, 2024
1 parent 7986f13 commit 09237e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions query-connector/src/app/database-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,12 +229,14 @@ export async function insertValueSet(vs: ValueSet) {

return { success: false, error: failedInserts };
}

function generateValueSetSqlStatement(vs: ValueSet) {
const valueSetOid = vs.valueSetId;
const valueSetUniqueId = `${valueSetOid}_${vs.valueSetVersion}`;
const insertValueSetSql = `INSERT INTO valuesets VALUES('${valueSetUniqueId}','${valueSetOid}','${vs.valueSetVersion}','${vs.valueSetName}','${vs.author}','${vs.ersdConceptType}');`;
return insertValueSetSql;
}

function generateConceptSqlStatements(vs: ValueSet) {
const valueSetOid = vs.valueSetId;
const valueSetUniqueId = `${valueSetOid}_${vs.valueSetVersion}`;
Expand Down

0 comments on commit 09237e6

Please sign in to comment.