use super::SqlFunctionClause;
#[derive(Debug, Clone, PartialEq, Eq)]
#[non_exhaustive]
pub struct SqlFunctionCallFact {
pub name_parts: Vec<String>,
pub line: usize,
pub column: usize,
pub clause: Option<SqlFunctionClause>,
#[doc(hidden)]
pub in_cte: bool,
}
impl SqlFunctionCallFact {
pub fn new(
name_parts: Vec<String>,
line: usize,
column: usize,
clause: Option<SqlFunctionClause>,
) -> Self {
Self {
name_parts,
line,
column,
clause,
in_cte: false,
}
}
}