powered by
For internal use by the placeholder_format tweak.
placeholder_format
make_placeholder_fun(pattern)
[function(n)] A function with one argument n that returns a vector of length n with placeholders of the specified format.
[function(n)]
n
[character(1)] Any character, optionally followed by 1 or name. Examples: "?", "$1", ":name"
[character(1)]
1
name
"?"
"$1"
":name"
body(DBItest:::make_placeholder_fun("?")) DBItest:::make_placeholder_fun("?")(2) DBItest:::make_placeholder_fun("$1")(3) DBItest:::make_placeholder_fun(":name")(5)
Run the code above in your browser using DataLab