MCPcopy Create free account
hub / github.com/PRQL/prql / into_source

Method into_source

prqlc/prqlc/src/sql/gen_expr.rs:1154–1159  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1152 }
1153
1154 pub fn into_source(self) -> String {
1155 match self {
1156 ExprOrSource::Expr(e) => e.to_string(),
1157 ExprOrSource::Source(SourceExpr { text, .. }) => text,
1158 }
1159 }
1160
1161 fn wrap_in_parenthesis(self) -> Self {
1162 match self {

Callers 3

translate_sstringFunction · 0.80
translate_windowedFunction · 0.80
translate_operatorFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected