dbplyr::memdb_frame(a = 1:10)
#> # Source: table<wrcfejsauq> [?? x 1]
#> # Database: sqlite 3.19.3 [:memory:]
#> a
#> <int>
#> 1 1
#> 2 2
#> 3 3
#> 4 4
#> 5 5
#> 6 6
#> 7 7
#> 8 8
#> 9 9
#> 10 10
#> # ... with more rows
Created on 2018-01-19 by the reprex package (v0.1.1.9000).
We could fetch 21 rows instead of 10, to make sure we're consistent with the behavior for data frames (to display the first 20 rows if the result has 20 rows or less). If we get 20 or less, we display. If we get 21, we display the first 10 and show "with at least 11 more rows".