Create placeholder value that will be filled in (such as `$1`) Note the parameter type can be inferred using [`Expr::infer_placeholder_types`] # Example ```rust # use datafusion_expr::{placeholder}; let p = placeholder("$1"); // $1, refers to parameter 1 assert_eq!(p.to_string(), "$1") ```
(id: impl Into<String>)
| 123 | /// assert_eq!(p.to_string(), "$1") |
| 124 | /// ``` |
| 125 | pub fn placeholder(id: impl Into<String>) -> Expr { |
| 126 | Expr::Placeholder(Placeholder { |
| 127 | id: id.into(), |
| 128 | field: None, |
| 129 | }) |
| 130 | } |
| 131 | |
| 132 | /// Create an '*' [`Expr::Wildcard`] expression that matches all columns |
| 133 | /// |
searching dependent graphs…