Skip to content

Commit

Permalink
chore: Backport #1939 to web (#1959)
Browse files Browse the repository at this point in the history
web: Attempt to default to the SQL view in playground (#1939)

web: Default to the SQL view in playground
(cherry picked from commit 7281e34)

Co-authored-by: Maximilian Roos <5635139+max-sixty@users.noreply.github.com>
  • Loading branch information
prql-bot and max-sixty committed Feb 25, 2023
1 parent dc027e5 commit 762a5c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions playground/src/examples.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const examples = {
"introduction.prql": [
"arrow",
"sql",
`from invoices
filter invoice_date >= @1970-01-16
derive [ # This adds columns
Expand All @@ -27,7 +27,7 @@ derive db_version = s"version()" # S-string, escape hatch to SQL
],

"let-table-0.prql": [
"arrow",
"sql",
`let soundtracks = (
from playlists
filter name == 'TV Shows'
Expand Down Expand Up @@ -56,7 +56,7 @@ take 10
],

"artists-0.prql": [
"arrow",
"sql",
`from tracks
select [album_id, name, unit_price]
sort [-unit_price, name]
Expand Down

0 comments on commit 762a5c9

Please sign in to comment.