sql_val: Prepare SQL values

Description Usage Arguments Value

Description

Wraps character types into single quotes, numbers as non scientific.

Usage

1
sql_val(col, x, trunc_char_n = 252L)

Arguments

col

character vector of column names.

x

data.table a one row data.table.

trunc_char_n

integer number of characters to truncate character after. Default 252, ... is added to the end of string so the result will have 255 characters.

Value

character vector


jangorecki/logR documentation built on May 18, 2019, 12:24 p.m.