@@ -14,11 +14,11 @@ dbListObjects_PqConnection_ANY <- function(conn, prefix = NULL, ...) {
1414 }
1515 query <- paste0(
1616 " SELECT " , null_varchar , " AS schema, table_name AS table FROM ( \n " ,
17- list_tables(conn = conn , order_by = " table_type, table_name" ),
17+ list_tables(conn = conn , order_by = " table_type, table_name" ),
1818 " ) as table_query \n " ,
1919 " UNION ALL\n " ,
2020 " SELECT DISTINCT table_schema AS schema, " , null_varchar , " AS table FROM ( \n " ,
21- list_tables(conn = conn , where_schema = " true" ),
21+ list_tables(conn = conn , where_schema = " true" ),
2222 " ) as schema_query;"
2323 )
2424 } else {
@@ -38,11 +38,11 @@ dbListObjects_PqConnection_ANY <- function(conn, prefix = NULL, ...) {
3838 )
3939 query <- paste0(
4040 " SELECT table_schema AS schema, table_name AS table FROM ( \n " ,
41- list_tables(
42- conn = conn ,
43- where_schema = where_schema ,
44- order_by = " table_type, table_name"
45- ),
41+ list_tables(
42+ conn = conn ,
43+ where_schema = where_schema ,
44+ order_by = " table_type, table_name"
45+ ),
4646 " ) as table_query"
4747 )
4848 }
0 commit comments