Skip to content

Commit

Permalink
Breadcrumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Nov 21, 2023
1 parent 09185f9 commit 00f6be6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/spec-result.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ trivial_statement <- function(ctx, table_name) {
}

trivial_query <- function(n = 1L, column = "a", .order_by = NULL, .ctx = NULL) {
# Zero-row queries are hard-coded, search for 1 = 0
stopifnot(n > 0)
value <- trivial_values(n)
if (length(column) == n) {
query <- paste0("SELECT ", paste0(value, " AS ", column, collapse = ", "))
Expand Down

0 comments on commit 00f6be6

Please sign in to comment.