Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeKaraszi authored Sep 22, 2018
1 parent 990f080 commit e85d88c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,8 @@ User.with(highly_liked: ProfileL.where("likes > 300"))
```

Query output:
```postgresql

```sql
WITH "highly_liked" AS (SELECT "profile_ls".* FROM "profile_ls" WHERE (likes >= 300))
SELECT "users".*
FROM "users"
Expand All @@ -315,7 +316,8 @@ User.with(highly_liked: ProfileL.where("likes > 300"))
```

Query output:
```postgresql

```sql
WITH "highly_liked" AS (SELECT "profile_ls".* FROM "profile_ls" WHERE (likes > 300)),
"less_liked" AS (SELECT "profile_ls".* FROM "profile_ls" WHERE (likes <= 200))
SELECT "users".*
Expand Down

0 comments on commit e85d88c

Please sign in to comment.