File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -562,13 +562,6 @@ pub enum Query {
562562}
563563
564564impl Query {
565- pub fn sources_for_opt ( & self ) -> QuerySources {
566- match self {
567- Self :: Select ( ..) | Self :: Project ( ..) | Self :: IndexScan ( _) | Self :: IndexJoin ( _) => QuerySources :: None ,
568- Self :: JoinInner ( join) => QuerySources :: Expr ( join. rhs . sources_for_opt ( ) ) ,
569- }
570- }
571-
572565 /// Iterate over all [`SourceExpr`]s involved in the [`Query`].
573566 ///
574567 /// Sources are yielded from left to right. Duplicates are not filtered out.
@@ -713,16 +706,6 @@ impl QueryExpr {
713706 }
714707 }
715708
716- /// Iterate over all [`SourceExpr`]s involved in the [`QueryExpr`].
717- ///
718- /// Sources are yielded from left to right. Duplicates are not filtered out.
719- pub fn sources_for_opt ( & self ) -> QueryExprSources {
720- QueryExprSources {
721- head : Some ( self . source . clone ( ) ) ,
722- tail : self . query . iter ( ) . map ( Query :: sources_for_opt) . collect ( ) ,
723- }
724- }
725-
726709 /// Iterate over all [`SourceExpr`]s involved in the [`QueryExpr`].
727710 ///
728711 /// Sources are yielded from left to right. Duplicates are not filtered out.
You can’t perform that action at this time.
0 commit comments