tests/testthat/_snaps/query-select.md

select_query() print method output is as expected

Code
  mf
Output
  <SQL SELECT>
  From:
    <table_path> `df`
  Select:   `df`.*
  Where:    `x` > 1
  Order by: `x`
  Limit:    10

queries generated by select() don't alias unnecessarily

Code
  lf_render
Output
  <SQL> SELECT `x`
  FROM `df`
Code
  lazy_frame(x = 1, y = 1) %>% select()
Condition
  Error in `sql_clause_select()`:
  ! Query contains no columns


hadley/dbplyr documentation built on May 4, 2024, 2:10 a.m.