uqa-sql 0.6.3

PostgreSQL-compatible SQL compiler built on libpg_query
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//
// Unified Query Algebra
//
// Copyright (c) 2023-2026 Cognica, Inc.
//

use super::{Copying, Result, SyntaxCopy};

syntax_struct!(crate::ast::AlterEnum { name, action });

syntax_enum!(crate::ast::AlterEnumAction {
    AddValue { label, if_not_exists, neighbor },
    RenameValue { old, new }
});

syntax_struct!(crate::ast::CreateEnum { name, labels });

syntax_struct!(crate::ast::EnumNeighbor { label, after });