Wow - that is pretty cool!
Alan
On Tue, May 28, 2013 at 11:41 PM, zcaudate wrote:
>
>
> 6. Insertion of `arbitrarily` formatted data:
> a - books containing users:
>
> (adi/insert! ds [{:book {:name "Charlie and the Chocolate Factory"
> :author "Roald Dahl"
>
6. Insertion of `arbitrarily` formatted data:
a - books containing users:
(adi/insert! ds [{:book {:name "Charlie and the Chocolate Factory"
:author "Roald Dahl"
:accounts #{{:user "adi3" :password "hello3" :credits
100}
I've pushed out a significant update for adi, along with quite a long
readme @ https://github.com/zcaudate/adi
Some highlights:
1. Required keys
(adi/insert! ds {:account {:credits 10}});; => (throws Exception "The following
keys are required: #{:account/user :account/password}")
2. Schema c