dolt_add | R Documentation |
Add, commit, and reset tables in a dolt database
dolt_add(tables = NULL, conn = dolt(), collect = NULL, show_sql = NULL)
dolt_commit(
all = TRUE,
message = NULL,
author = NULL,
date = NULL,
allow_empty = FALSE,
conn = dolt(),
collect = NULL,
show_sql = NULL
)
dolt_reset(
hard = FALSE,
tables = NULL,
conn = dolt(),
collect = NULL,
show_sql = NULL
)
tables |
Which tables to be reset? Defaults to all tables if NULL. |
conn |
the database connection |
collect |
whether to collect the result into R or return a |
show_sql |
Whether to print the SQL statements used internally to fetch
the data. Useful for learning how Dolt works internally. Defaults to |
all |
stage all tables before committing? |
message |
A commit message. If NULL in an interactive session, the user will be prompted. Otherwise will error if empty. |
author, date |
Author and date. If null, uses the ones set in dolt-config.
Author should be in the format |
allow_empty |
Allow recording a commit that has the exact same data as its sole parent. This is usually a mistake, so it is FALSE by default. |
hard |
Reset working and staged tables? If FALSE (default), a "soft" reset will be performed, only unstaging staged tables. If TRUE, all working and staged changes will be discarded. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.