Blocking queries?
Sebastian Sastre
ssastre at seaswork.com
Wed Oct 31 14:43:11 UTC 2007
Hi there,
I saw some strange result when I use some code like this:
someMagmaCollection
where:[:reader|
reader
read: #companyName
to:'ZZZ']
distinct: true
sortBy: #companyName
descending: false.
then the result of that is used like:
queryResult
copyFrom: firstDesiredItemOfResult
to: lastDesiredItemOfResult
this last message is returning instantaneusly an empty array when in fact
should not be empty. And seems to be only for the first send because if I
resend the message, for instance manually in the debugger, I do get the
right results for the next N (re)sends.
How is expected to reach the result when you ask for it waiting for it
if necessary?
cheers,
Sebastian Sastre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/magma/attachments/20071031/ba1663c3/attachment.htm
More information about the Magma
mailing list