Insert blocks are special parameters in squr
and provide an easy way
of constructing INSERT INTO ... Values (...)
type constructs. They are
marked in the SQL source with @label:insert
.
1 | sq_insert(.into, ..., .data = parent.frame(), .split = 75, .quote = "[")
|
.into |
The name of the table to insert into. |
... |
Names of the values to insert, either as character or one-sided
formulas. It is also possible to specify |
.data |
Data or environment to lookup the names. |
.split |
integer specifying the maximum number of value-pairs in each
|
.quote |
The quote to use for table and column names. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.