[ANN] Queries preview on SqueakSource
Brent Pinkney
brent.pinkney at aircom.co.za
Wed Jun 14 11:21:42 UTC 2006
Hi,
I ave tried out Chris complex query preview code and am very impressed: I have uploaded a small modification to SqueakSource which fixes a few glitches.
I am using a stock 3.8 image with the latest Magma1.0 monticello loaded. On top of this I loaded:
Ma special collections-cmm.66.mcz
Magma client-brp.188.mcz
Magma server-cmm.163.mcz
To test, I loaded the latest Lava and Lava testing monticellos.
In a workspace:
"1. Create the test repository...."
LavaTestResource current.
"2. Create a complex query..."
Transcript clear.
youngsters := LavaTestResource current people
where: [ :p | (p familyName at: 'Pinkney') & (p age < 60) ].
youngsters
sortBy: #age; descend.
"3. Iterate over the query results..."
youngsters do: [ :p | Transcript show: p age; tab; show: p; cr ]
It looks great so far.
Brent
More information about the Magma
mailing list