Skip to content

Commit 4606149

Browse files
committed
update README
1 parent b7b1323 commit 4606149

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Some other examples:
3737
3838
```julia
3939
| | |_| | | | (_| | | Version 0.5.0-rc1+1 (2016-08-05 15:23 UTC)
40-
_/ |\__'_|_|_|\__'_| | Commit acfd04c (8 days old release-0.5)
40+
_/ |\__'_|_|_|\__'_| | Commit acfd04c (10 days old release-0.5)
4141
|__/ | x86_64-apple-darwin13.4.0
4242

4343
julia> using SQLQuery
@@ -61,18 +61,18 @@ SELECT foo * 3 AS name,
6161

6262
julia> @sqlquery source |>
6363
filter(name == 3, bar == "whee") |>
64-
select(distinct(name = foo * 3, col))
64+
distinct(name = foo * 3, col)
6565
SELECT DISTINCT foo * 3 AS name,
66-
col
66+
col
6767
FROM (SELECT *
6868
FROM source
6969
WHERE name == 3
7070
AND bar == "whee")
7171

7272
julia> @sqlquery source |>
7373
filter(name == 3, bar == "whee") |>
74-
select(all(name = foo * 3, col))
75-
SELECT ALL foo * 3 AS name,
74+
select(name = foo * 3, col)
75+
SELECT foo * 3 AS name,
7676
col
7777
FROM (SELECT *
7878
FROM source
@@ -81,16 +81,16 @@ SELECT ALL foo * 3 AS name,
8181

8282
julia> @sqlquery source |>
8383
filter(name == 3, bar == "whee") |>
84-
select(all(*))
85-
SELECT ALL *
84+
select(*)
85+
SELECT *
8686
FROM (SELECT *
8787
FROM source
8888
WHERE name == 3
8989
AND bar == "whee")
9090

9191
julia> @sqlquery source |>
9292
filter(name == 3, bar == "whee") |>
93-
select(distinct(*))
93+
distinct(*)
9494
SELECT DISTINCT *
9595
FROM (SELECT *
9696
FROM source
@@ -99,7 +99,7 @@ SELECT DISTINCT *
9999

100100
julia> @sqlquery source |>
101101
filter(name == 3, bar == "whee") |>
102-
select(distinct(col))
102+
distinct(col)
103103
SELECT DISTINCT col
104104
FROM (SELECT *
105105
FROM source
@@ -247,6 +247,7 @@ SELECT *
247247
ORDER BY name DESC)
248248
LIMIT -1 OFFSET 7
249249

250+
250251
julia> @sqlquery Artists |>
251252
leftjoin(Songs) |>
252253
leftjoin(Albums) |>

0 commit comments

Comments
 (0)