pg_alterColumnType | R Documentation |
Helper command to alter a column's data type via ALTER TABLE.
pg_alterColumnType(column_name, data_type, using = NULL)
column_name |
A string, the name of the column to add. |
data_type |
A string, the data type of the column to add. |
using |
A string, a command to cast the column into the appropriate type. |
A string, PostgreSQL helper statement to alter a column type using ALTER TABLE.
pg_alterColumnType(
column_name = "newCol",
data_type = "text"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.