by Mond_ · 1y ago · 0 comments
fn get_ids(data: Vec<Widget>) -> Vec<Id> {
data.iter()
.filter(|w| w.alive)
.map(|w| w.id)
.collect()
}
It sounds to me like you're asking for linebreaks. Chaining doesn't seem to be the issue here.But you could in many cases easily infer from the execution plan what a query would look like and fetch an intermediate set separately.