pg_renameTable: Helper command to rename a table via ALTER TABLE.

View source: R/pgTools.R

pg_renameTableR Documentation

Helper command to rename a table via ALTER TABLE.

Description

Helper command to rename a table via ALTER TABLE.

Usage

pg_renameTable(new_table_name)

Arguments

new_table_name

A string, the new name for the table.

Value

A string, PostgreSQL helper statement to rename a table using ALTER TABLE.

Examples

pg_renameTable(
new_table_name = "table1"
)

pgTools documentation built on March 31, 2023, 7:56 p.m.