pg_select: Select one or more columns from a table

Description Usage Arguments Value Examples

View source: R/pg_select.R

Description

Select one or more columns from a table

Usage

1
pg_select(conn, tbl, ...)

Arguments

conn

Connection

tbl

Table

...

Bare columns to be selected. Defaults to all. You can also provide "*" to select all columns.

Value

tibble with selected columns

Examples

1
2
3
4
5
6
7
## Not run: 
pg_select(conn, mtcars, mpg, drat)
pg_select(conn, mtcars,"mpg","drat")
pg_select(conn, mtcars)
pg_select(conn, mtcars,"*")

## End(Not run)

jjesusfilho/rpsql documentation built on Aug. 9, 2021, 7:33 p.m.