code_sql_select: Code a SQL SELECT

View source: R/code_sql_select.R

code_sql_selectR Documentation

Code a SQL SELECT

Description

Returns a formated sql SELECT query based on parameters. Useful when automating code

Usage

code_sql_select(
  table_or_sql,
  select.cols = c("*"),
  joins = NULL,
  filters = NULL,
  filters.logical = "AND",
  group.by.cols = NULL,
  order.by.cols = NULL,
  alias = "RECORDS"
)

Arguments

table_or_sql

SQL query or table name that you will select records from

select.cols

the columns that you would like to select


MattjCamp/Coder documentation built on April 28, 2023, 4:53 p.m.