create_index | R Documentation |
Create the indexes on table
create_index(conn, db_table, columns)
conn |
( |
db_table |
( |
columns |
( |
NULL (called for side effects)
conn <- get_connection()
mt <- dplyr::copy_to(conn, dplyr::distinct(mtcars, .data$mpg, .data$cyl), name = "mtcars")
create_index(conn, mt, c("mpg", "cyl"))
close_connection(conn)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.