nrow: nrow() but also works on remote tables

View source: R/helpers.R

nrowR Documentation

nrow() but also works on remote tables

Description

nrow() but also works on remote tables

Usage

nrow(.data)

Arguments

.data

(data.frame(1), tibble(1), data.table(1), or tbl_dbi(1))
Data object.

Value

The number of records in the object.

Examples


  conn <- get_connection()

  m <- dplyr::copy_to(conn, mtcars)
  nrow(m) == nrow(mtcars) # TRUE

  close_connection(conn)


SCDB documentation built on Oct. 4, 2024, 1:09 a.m.