KuceraMartin / tyqu

Type-safe Queries
Apache License 2.0
50 stars 3 forks source link

How to handle limit in flatMap? #27

Open KuceraMartin opened 1 year ago

KuceraMartin commented 1 year ago

e.g.

from(Releases).limit(5).flatMap{ r => from(Tracks).limit(10) }

should return up to 50 rows -- 5 releases and up to 10 tracks for each of them