Count rows in a DataFrame

sd_count(.data)

Arguments

.data

A sedonadb_dataframe or an object that can be coerced to one.

Value

The number of rows after executing the query

Examples

sd_sql("SELECT 1 as one") |> sd_count()
#> [1] 1