Skip to content

Commit

Permalink
docs: Clarify dialect & target in book (#1521)
Browse files Browse the repository at this point in the history
* docs: Clarify dialect & target in book
  • Loading branch information
max-sixty authored Jan 16, 2023
1 parent 43eb8b2 commit 0445dc2
Show file tree
Hide file tree
Showing 11 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion book/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- [Functions](./queries/functions.md)
- [Tables](./queries/tables.md)
- [Syntax](./queries/syntax.md)
- [Dialect & version](./queries/dialect-and-version.md)
- [Header: target & version](./queries/header.md)
- [Transforms](./transforms.md)
- [Aggregate](./transforms/aggregate.md)
- [Append](./transforms/append.md)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: book/tests/snapshot.rs
expression: "prql target:sql.postgres\n\nfrom employees\nsort age\ntake 10\n"
input_file: book/tests/prql/queries/dialect-and-version-0.prql
input_file: book/tests/prql/queries/header-0.prql
---
SELECT
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: book/tests/snapshot.rs
expression: "prql target:sql.mssql\n\nfrom employees\nsort age\ntake 10\n"
input_file: book/tests/prql/queries/dialect-and-version-1.prql
input_file: book/tests/prql/queries/header-1.prql
---
SELECT
TOP (10) *
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: book/tests/snapshot.rs
expression: "prql version:\"0.3\"\n\nfrom employees\n"
input_file: book/tests/prql/queries/dialect-and-version-2.prql
input_file: book/tests/prql/queries/header-2.prql
---
SELECT
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: book/tests/snapshot.rs
expression: prql_to_pl(&prql).and_then(pl_to_prql).unwrap()
input_file: book/tests/prql/queries/dialect-and-version-0.prql
input_file: book/tests/prql/queries/header-0.prql
---
prql target:sql.postgres

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: book/tests/snapshot.rs
expression: prql_to_pl(&prql).and_then(pl_to_prql).unwrap()
input_file: book/tests/prql/queries/dialect-and-version-1.prql
input_file: book/tests/prql/queries/header-1.prql
---
prql target:sql.mssql

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: book/tests/snapshot.rs
expression: prql_to_pl(&prql).and_then(pl_to_prql).unwrap()
input_file: book/tests/prql/queries/dialect-and-version-2.prql
input_file: book/tests/prql/queries/header-2.prql
---
prql version:^0.4

Expand Down

0 comments on commit 0445dc2

Please sign in to comment.