It is just a different work-around. I'd rather loop over the collection to 
solve it and use the right data structure.

Note also collection.distinct() fails to remove duplicate pointers.

John DeSoi, Ph.D.


> On Jul 28, 2019, at 7:43 PM, Keisuke Miyako via 4D_Tech 
> <[email protected]> wrote:
> 
> why not use a key value pair instead of a flat collection of pointers?
> 
>> 2019/07/29 2:16、John DeSoi via 4D_Tech <[email protected]>のメール:
>> Disappointing because you can search for pointers in a pointer array, but 
>> not in a collection. And the above gives -1 implying that the search was 
>> completed rather than an error to indicate it is not supported.

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to