an example.

This commit is contained in:
Kazu Yamamoto 2014-12-20 14:50:12 +09:00
parent a4d831eb56
commit d158f27ef8

View File

@ -96,7 +96,17 @@ FROM account
ORDER BY open_emp_id, product_cd;
{% endhighlight %}
HRR: TBD
HRR:
{% highlight haskell %}
account_3_7 :: Relation () (Maybe Int64, String)
account_3_7 = relation $ do
a <- query account
let proj = (,) |$| a ! Account.openEmpId'
|*| a ! Account.productCd'
asc proj
return proj
{% endhighlight %}
#### Using the is null operator and the date literal