isc30 / linq-collections

Strongly typed Linq and Collections implementation for Javascript and TypeScript (ECMAScript 5)
https://www.npmjs.com/package/linq-collections
MIT License
119 stars 12 forks source link

Join #18

Open isc30 opened 6 years ago

isc30 commented 6 years ago

Correlates the elements of two sequences based on matching keys

Proposed definition:

join<TInner, TKey, TResult>(
    inner: IQueryable<TInner>,
    pkSelector: Selector<TOut, TKey>,
    fkSelector: Selector<TInner, TKey>,
    resultSelector: ((outer: TOut, inner: TInner) => TResult)): TResult;

Using deferred execution