Add several columns at once
Usage
hb_add_columns(client, table, columns, ...)
Arguments
- client
A harbour_client.
- table
Table name.
- columns
A list of column specs (each a named list).
- ...
These dots are for future extensions and must be empty.
Value
Invisibly returns the client.
Examples
if (FALSE) { # interactive()
client <- hb_client()
hb_add_columns(
client, "Samples",
list(
list(column_name = "a", column_type = "text"),
list(column_name = "b", column_type = "number")
)
)
}