Skip to content

Commit 9ae0afb

Browse files
update comment docs
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
1 parent 8532dd3 commit 9ae0afb

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

src/ast/ddl.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -351,10 +351,13 @@ pub enum AlterTableOperation {
351351
ValidateConstraint {
352352
name: Ident,
353353
},
354-
/// `SET ( storage_parameter [= value] [, ... ] )`
354+
/// Arbitrary parenthesized `SET` options.
355355
///
356-
/// Note: this is a PostgreSQL-specific operation.
357-
/// Please refer to [PostgreSQL documentation](https://www.postgresql.org/docs/current/sql-altertable.html)
356+
/// Example:
357+
/// ```sql
358+
/// SET (scale_factor = 0.01, threshold = 500)`
359+
/// ```
360+
/// [PostgreSQL](https://www.postgresql.org/docs/current/sql-altertable.html)
358361
SetOptionsParens {
359362
options: Vec<SqlOption>,
360363
},

0 commit comments

Comments
 (0)