valueDiff for arrays?

Bob Sneidar bobsneidar at iotecdigital.com
Fri Aug 3 13:46:59 EDT 2018


Not to beat a dead horse, but this would be a perfect application for moving the arrays to memory databases, and running queries against them, then converting back to arrays again. I can have a go at it if I have a couple JSON arrays to work with. Are  they typical 2 dimensional arrays like datagrids use, or are there embedded arrays? 

Bob S

> On Aug 3, 2018, at 10:40 , Richard Gaskin via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> We have a command for obtaining the difference between arrays, where "difference" is defined as having different keys.
> 
> What I could use at the moment is a means of obtaining an array which is the difference is both keys present in one but not in the other, and values that are different for those elements where they keys are present in both.
> 
> I can write a loop for that, but it seems like it would be useful for others so I thought I'd ask if anyone here knows of a feature request in the DB for this.  If not I'll add one.
> 
> -- 
> Richard Gaskin





More information about the use-livecode mailing list