in_sql_list: Syntatic sugar to turn a vector into a SQL "IN (x1, x2, x3,...

Description Usage Arguments Value Examples

View source: R/sql_queries.R

Description

Syntatic sugar to turn a vector into a SQL "IN (x1, x2, x3, ...)" phrase

Usage

1
in_sql_list(x, nbrs = FALSE)

Arguments

x

vector of values to search in

nbrs

False if characters needing quotes, else will not quote values

Value

character vector object

Examples

1
in_sql_list(mtcars$hp, nbrs = TRUE)

dgarmat/dgfunctionpack documentation built on May 17, 2020, 9:58 p.m.