Skip to content

Commit

Permalink
remove unused fn
Browse files Browse the repository at this point in the history
  • Loading branch information
aqrln committed Jan 19, 2024
1 parent 4f60b3f commit 33dce01
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
use super::*;
use schema::constants::aggregations::*;

pub(crate) fn extract_nested_rel_aggr_selections(
field_pairs: Vec<FieldPair<'_>>,
) -> (Vec<FieldPair<'_>>, Vec<FieldPair<'_>>) {
field_pairs.into_iter().partition(is_aggr_selection)
}

pub(crate) fn is_aggr_selection(pair: &FieldPair<'_>) -> bool {
matches!(pair.parsed_field.name.as_str(), UNDERSCORE_COUNT)
}

0 comments on commit 33dce01

Please sign in to comment.