Skip to content

Commit 29f6d29

Browse files
committed
use pq*() functions in examples
1 parent 69b1cd5 commit 29f6d29

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

R/PqGenerics.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
#'
1818
#' library(DBI)
1919
#' if (run) con <- dbConnect(RPostgres::Postgres())
20-
#' if (run) dbListTables(con)
20+
#' if (run) pqListTables(con)
2121
#'
2222
#' if (run) dbWriteTable(con, "mtcars", mtcars, temporary = TRUE)
23-
#' if (run) dbListTables(con)
23+
#' if (run) pqListTables(con)
2424
#'
2525
#' if (run) dbDisconnect(con)
2626
#'
@@ -111,10 +111,10 @@ list_tables_sql <- function(conn, where_schema = NULL) {
111111
#'
112112
#' library(DBI)
113113
#' if (run) con <- dbConnect(RPostgres::Postgres())
114-
#' if (run) dbListObjects(con)
114+
#' if (run) pqListObjects(con)
115115
#'
116116
#' if (run) dbWriteTable(con, "mtcars", mtcars, temporary = TRUE)
117-
#' if (run) dbListObjects(con)
117+
#' if (run) pqListObjects(con)
118118
#'
119119
#' if (run) dbDisconnect(con)
120120
#'

0 commit comments

Comments
 (0)