[Glass] GsQuery on array or collection ??????
Dale Henrichs via Glass
glass at lists.gemtalksystems.com
Tue May 10 08:42:18 PDT 2016
Marten,
It looks like the docs are misleading ... GsQuery currently works only
on UnorderedCollections (Sets and Bags).
It looks like if you implement _asIdentityBag in Collection, you just
might be able to get things to work for you ...
Dale
On 5/10/16 2:48 AM, Marten Feldtmann via Glass wrote:
> The following is NOT working:
>
> (GsQuery fromString: 'each = ''12''' on: (Array with: '12')) asArray
>
> This one is working:
>
> (GsQuery fromString: 'each = ''12''' on: (Set with: '12')) asArray
>
> WHY ? In the documentation one can read, that on: needs a collection like object ?!
>
>
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20160510/f7b40e5b/attachment.html>
More information about the Glass
mailing list