Skip to content

Commit

Permalink
Fixed bug introduced in last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
schuemie committed Oct 7, 2018
1 parent cef51ba commit ba2dfcc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions LegendMedCentral/DataPulls.R
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ getTcoDbsStrict <- function(connection, exposureIds = c(), outcomeIds = c(), dat
if (length(parts) != 0) {
sql <- paste(sql, "AND", paste(parts, collapse = " AND "))
}
sql <- paste0(sql, ";")
sql <- SqlRender::translateSql(sql, targetDialect = connection@dbms)$sql
tcoDbs <- querySql(connection, sql)
colnames(tcoDbs) <- SqlRender::snakeCaseToCamelCase(colnames(tcoDbs))
Expand Down

0 comments on commit ba2dfcc

Please sign in to comment.