Returns true if a projection has been explicitly set via `projection()`. This method is used to determine whether the SELECT clause has already been defined, which helps avoid creating duplicate projection nodes during query unparsing. It returns `true` for both empty and non-empty projections. # Returns - `true` if `projection()` has been called (regardless of whether it was empty or not) - `f
(&self)
| 247 | /// assert!(builder.already_projected()); // true for non-empty projection |
| 248 | /// ``` |
| 249 | pub fn already_projected(&self) -> bool { |
| 250 | self.projection.is_some() |
| 251 | } |
| 252 | pub fn into(&mut self, value: Option<ast::SelectInto>) -> &mut Self { |
| 253 | self.into = value; |
| 254 | self |
no outgoing calls
no test coverage detected