Skip to content

Commit

Permalink
chore: Add assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Oct 30, 2023
1 parent 672ea3e commit e689685
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/dm_sql.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ dm_sql <- function(
#
check_suggested("dbplyr", "dm_sql")

stopifnot(is(dest, "DBIConnection"))

table_names <- ddl_check_table_names(table_names, dm)

dm <- ddl_reorder_dm(dm, dest)
Expand Down

0 comments on commit e689685

Please sign in to comment.