Skip to contents

Saves a query to a table in the user database.

Usage

db_save(data, db_path, db_table = "query_data")

Arguments

data

A data frame.

db_path

Character string with the file path to the database.

db_table

Character vector with the name of the destination table that needs to be appended.

Value

A table in a database will be appended. No values will be returned.

Examples

db_save(mtcars, ":memory:", "mtcars_db")
#> saving data frame to database table ' mtcars_db '
#> data saved