Skip to content

Commit 523fad4

Browse files
committed
Update CHANGELOG [skip ci]
1 parent b84b23a commit 523fad4

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
## v2.5.0 2018-06-08
2+
3+
### Added
4+
5+
* Support for subqueries in `SELECT` and `WHERE` :tada: (flash-gordon)
6+
```ruby
7+
tasks = relations[:tasks]
8+
users = relations[:users]
9+
user_tasks = tasks.where(tasks[:user_id].is(users[:id])
10+
tasks_count = user_tasks.select { int::count(id) }
11+
users.select_append(tasks_count.as(:tasks_count))
12+
```
13+
14+
[Compare v2.4.0...v2.5.0](https://github.com/rom-rb/rom-sql/compare/v2.4.0...v2.5.0)
15+
116
## v2.4.0 2018-02-18
217

318
### Added

0 commit comments

Comments
 (0)