create_index {SCDB} | R Documentation |
Create the indexes on table
Description
Create the indexes on table
Usage
create_index(conn, db_table, columns)
Arguments
conn |
( |
db_table |
( |
columns |
( |
Value
NULL (called for side effects)
Examples
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)
[Package SCDB version 0.5.1 Index]