squawk-parser 0.2.3

Postgres SQL parser used in squawk
Documentation
---
source: parser/src/parse.rs
expression: res
---
Ok(
    [
        RawStmt(
            RawStmt {
                stmt: AlterTableStmt(
                    AlterTableStmt {
                        cmds: [
                            AlterTableCmd(
                                AlterTableCmd {
                                    subtype: ReplicaIdentity,
                                    name: None,
                                    def: Some(
                                        ReplicaIdentityStmt(
                                            Object({
                                                "identity_type": String(
                                                    "f",
                                                ),
                                            }),
                                        ),
                                    ),
                                    behavior: Restrict,
                                    missing_ok: false,
                                },
                            ),
                        ],
                        relation: RangeVar(
                            RangeVar {
                                catalogname: None,
                                schemaname: None,
                                relname: "aa",
                                inh: true,
                                relpersistence: "p",
                                alias: None,
                                location: 12,
                            },
                        ),
                        relkind: Table,
                        missing_ok: false,
                    },
                ),
                stmt_location: 0,
                stmt_len: Some(
                    36,
                ),
            },
        ),
    ],
)