Skip to content

Commit

Permalink
fix view qry (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwilsonsco authored Oct 4, 2024
1 parent 7bbe760 commit 86b6ac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ check_table_exists <- function(server,
include_views = include_views
)
# return TRUE if exists or else false
nrow(all_tables[all_tables$table == table_name, ]) == 1
nrow(all_tables[all_tables$table == table_name, ]) >= 1
}

# Prevent SQL injection with quoted schema table name construction
Expand Down

0 comments on commit 86b6ac0

Please sign in to comment.