diff options
author | James Moger <james.moger@gmail.com> | 2011-12-06 08:51:45 -0500 |
---|---|---|
committer | James Moger <james.moger@gmail.com> | 2011-12-06 08:51:45 -0500 |
commit | 0b94e39b872246774fe2f3a0d507f7c134a9d6b4 (patch) | |
tree | 8ad2660a9f318644a5944d26f0242a8bd50f5763 /docs | |
parent | ad70685918aac114a4babd9a1a0e0217b6323df0 (diff) | |
download | iciql-0b94e39b872246774fe2f3a0d507f7c134a9d6b4.tar.gz iciql-0b94e39b872246774fe2f3a0d507f7c134a9d6b4.zip |
Improved fluent/type-safety of join statements
Diffstat (limited to 'docs')
-rw-r--r-- | docs/04_examples.mkd | 8 | ||||
-rw-r--r-- | docs/05_releases.mkd | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/docs/04_examples.mkd b/docs/04_examples.mkd index d4f98da..480e29d 100644 --- a/docs/04_examples.mkd +++ b/docs/04_examples.mkd @@ -80,6 +80,14 @@ db.from(p).where(p.productId).atLeast(10).delete(); %BEGINCODE%
final Customer c = new Customer();
final Order o = new Order();
+
+List<Customer> customersWithLargeOrders =
+ db.from(c).
+ innerJoin(o).on(c.customerId).is(o.customerId).
+ where(o.total).greaterThan(new BigDecimal("500.00")).
+ groupBy(c.customerId).select();
+
+
List<CustOrder> orders =
db.from(c).
innerJoin(o).on(c.customerId).is(o.customerId).
diff --git a/docs/05_releases.mkd b/docs/05_releases.mkd index 94d0e9a..6d6054c 100644 --- a/docs/05_releases.mkd +++ b/docs/05_releases.mkd @@ -8,6 +8,7 @@ - Fixed joins on primitives
- Fixed group by on primitives
+- Improved fluent/type-safety of joins
### Older Releases
|