aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJames Moger <james.moger@gmail.com>2011-12-06 08:51:45 -0500
committerJames Moger <james.moger@gmail.com>2011-12-06 08:51:45 -0500
commit0b94e39b872246774fe2f3a0d507f7c134a9d6b4 (patch)
tree8ad2660a9f318644a5944d26f0242a8bd50f5763 /docs
parentad70685918aac114a4babd9a1a0e0217b6323df0 (diff)
downloadiciql-0b94e39b872246774fe2f3a0d507f7c134a9d6b4.tar.gz
iciql-0b94e39b872246774fe2f3a0d507f7c134a9d6b4.zip
Improved fluent/type-safety of join statements
Diffstat (limited to 'docs')
-rw-r--r--docs/04_examples.mkd8
-rw-r--r--docs/05_releases.mkd1
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&lt;Customer&gt; 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&lt;CustOrder&gt; 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