as_chMDB | R Documentation |
Push an MDB object in a ClickHouse database
as_chMDB(x, tkcon, timestamp = Sys.time(), overwrite = FALSE, by = 10^5)
x |
an MDB object |
tkcon |
a chTKCat object |
timestamp |
a single POSIXct value as a timestamp for the chMDB instance. The default value is the current system time. If this value is smaller or equal to the chMDB current value, an error is thrown. If NA, the current instance is overwritten (if the overwrite parameter is set to TRUE) without changing the existing timestamp. |
overwrite |
a logical indicating if existing data should be overwritten (default: FALSE) |
by |
the size of the batch: number of records to write together (default: 10^5) |
A chMDB object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.