no-mistakes-postgres-sql 0.109.128

PostgreSQL SQL parsing, statement facts, and identifier extraction for no-mistakes
Documentation
1
2
3
4
5
6
7
8
9
10
use super::shape;

#[test]
fn each_table_arm_keeps_its_quoted_temporary_identity() {
    let sql = include_str!(concat!(
        env!("CARGO_MANIFEST_DIR"),
        "/../../test-cases/rules/postgres-bounded-statements/fixture/sql/multi-table-arms.sql"
    ));
    assert_eq!(shape(sql), ["select: ((opaque) (opaque)) (accounts)"]);
}