Re: Canonical way to do master detail relationship.

2012-02-11 Thread José Romero
On Sun, 12 Feb 2012 16:16:26 +1100 Konrad Zielinski wrote: > Hi, > > I'm trying to work out the proper way to setup a master detail > relationship in a Picolisp database. > > I have a master record with child records where each child record is a > string and a number. Different master records d

Re: Canonical way to do master detail relationship.

2012-02-11 Thread Henrik Sarvell
Hi Konrad. "And really The detail records will never be accessed outside the context of the master record. They don't need any indexing, or independent lookup." Then I think you've made the right decision, in VizReader for instance, each user subscribes to some feeds in a private context, ie know

Re: Canonical way to do master detail relationship.

2012-02-11 Thread Alexander Burger
Hi Konrad, > I have a master record with child records where each child record is a > string and a number. Different master records do not at all care about > each others details. > ... > so is this the way you would do this? > > (class +Child +Entity) > (rel description (+Key +String)) > (rel

Re: Canonical way to do master detail relationship.

2012-02-11 Thread Alexander Burger
Hi José, > Hmm, isn't this type of relationship covered by the +Ord and +Pos > classes in the example app included in picolisp's sources? > ... > Orders (masters) are keyed by the order number and +Pos "Order Items" > are linked to the order by a +Joint +List. That's right. -- UNSUBSCRIBE: mail