tests/testthat/_snaps/pillar.md

custom header

Code
  # Number of rows is shown
  x <- memdb_frame(a = 1:3) %>% filter(a > 0)
  setup <- pillar::tbl_format_setup(x)
  tbl_format_header(x, setup)[[1]]
Output
  [1] "# Source:   SQL [3 x 1]"
Code
  # Number of rows still can't be shown
  x <- memdb_frame(a = 1:11) %>% filter(a > 0)
  setup <- pillar::tbl_format_setup(x)
  tbl_format_header(x, setup)[[1]]
Output
  [1] "# Source:   SQL [?? x 1]"


Try the dbplyr package in your browser

Any scripts or data that you put into this service are public.

dbplyr documentation built on Oct. 26, 2023, 9:06 a.m.