pg_renameTable {pgTools}R 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"
)

[Package pgTools version 1.0.2 Index]