Skip to content

Commit

Permalink
Version bump to 0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Apr 19, 2016
1 parent b1acad3 commit 4888cfa
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# 0.3.2 [unreleased]
# 0.3.2

- Deprecated `--where` and `--limit`
- Prefer `{1}` for interpolation
- Added `--overwrite` option
- Deprecated `--where` and `--limit`

# 0.3.1

Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ Sync all tables
pgsync
```

**Note:** pgsync assumes your schema is already set up on your local machine. See the [schema section](#schema) if that’s not the case.

Sync specific tables

```sh
Expand Down Expand Up @@ -99,10 +101,10 @@ To get product `123` with its reviews, last 10 coupons, and store, use:
```yml
groups:
product:
products: "where id = {id}"
reviews: "where product_id = {id}"
coupons: "where product_id = {id} order by created_at desc limit 10"
stores: "where id in (select store_id from products where id = {id})
products: "where id = {1}"
reviews: "where product_id = {1}"
coupons: "where product_id = {1} order by created_at desc limit 10"
stores: "where id in (select store_id from products where id = {1})
```

And run:
Expand Down
2 changes: 1 addition & 1 deletion lib/pgsync/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module PgSync
VERSION = "0.3.1"
VERSION = "0.3.2"
end

0 comments on commit 4888cfa

Please sign in to comment.