Re: ANN - adi 0.1.5 (user friendly syntax for datomic)

2013-05-29 Thread Alan Thompson
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" >

Re: ANN - adi 0.1.5 (user friendly syntax for datomic)

2013-05-28 Thread zcaudate
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}

ANN - adi 0.1.5 (user friendly syntax for datomic)

2013-05-28 Thread zcaudate
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