Learn R Programming

sqlHelpers (version 0.1.2)

fetch_columns: Retrieve the columns/types in a table.

Description

Retrieve the columns/types in a table.

Usage

fetch_columns(con, schema, table)

Value

A data.table.

Arguments

con

A database connection.

schema

A string, the schema to query.

table

A string, the table to query.

Examples

Run this code
fetch_columns(con = NULL)

Run the code above in your browser using DataLab