diff options
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
|