build_where_clause: Build Where Clause

View source: R/build_where_clause.R

build_where_clauseR Documentation

Build Where Clause

Description

This function builds a where clause for a SQL statement

Usage

build_where_clause(
  tab_name,
  col_name,
  col_value,
  con = getOption("podr_connection")
)

Arguments

tab_name

table name

col_name

column name

col_value

column value

con

The connection to PODR. Use connect_podr to establish a connection, or specify a variable containing the proper PostgreSQL connection into PODR yourself

Value

column definition in a data.frame

Author(s)

Hanming Tu

Examples

## Not run: 
cc <- conn_podr()
build_where_clause('css_2020_ae',con=cc)

## End(Not run)


phuse-org/podrapp documentation built on May 11, 2022, 12:37 a.m.