db_count_rows: Function to get row counts from database tables.

View source: R/db_count_rows.R

db_count_rowsR Documentation

Function to get row counts from database tables.

Description

The row_count variable will be a numeric value rather than an integer to avoid integer overflow issues for large tables.

Usage

db_count_rows(con, table = NA, estimate = FALSE, verbose = FALSE)

Arguments

con

Database connection.

table

Table name in con. If table is NA, all tables in con will be queried.

estimate

Only for PostgreSQL, should the table count estimate be used?

verbose

Should the function give messages?

Value

Tibble.

Author(s)

Stuart K. Grange


skgrange/databaser documentation built on April 10, 2024, 4:31 p.m.