[xquery-talk] outer join between 2 sequences

Ihe Onwuka ihe.onwuka at gmail.com
Sun Sep 28 04:55:00 PDT 2014


PPS

>
> On Sun, Sep 28, 2014 at 12:32 PM, Adam Retter <adam.retter at googlemail.com>
> wrote:
>
>> > I have sequence A consisting of the numbers 0 to 4000000 and sequnce B
>> > consisting of about 100k random I numbers within the range of sequence
>> A and
>> > I want the outer join where sequence B is "null".
>>
>> There is no 'null' in XQuery, so I am not quite sure what you mean
>> here. If you ware looking for all values that appear in sequence A and
>> sequence B, then you can do the following -
>>
>> $a[. = $b]
>>
>
Of course that would be $a[not(. = $b)]  maybe even $a except $b, I was
asking more on what the performance expectation would be.

Pleased that it reasonable to expect it to be fast.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://x-query.com/pipermail/talk/attachments/20140928/d65c8e39/attachment.html>


More information about the talk mailing list