Skip to main content

no_mistakes_postgres_sql/statement_facts/
query_shapes.rs

1#[derive(Debug, Clone, Copy, PartialEq, Eq)]
2pub enum SqlQueryShape {
3    ConstantMaterializedCte,
4    CountBooleanExpression,
5}
6
7#[derive(Debug, Clone, PartialEq, Eq)]
8pub struct SqlQueryShapeFact {
9    pub shape: SqlQueryShape,
10    pub line: usize,
11    pub column: usize,
12}