Skip to content

Commit 2163b34

Browse files
Update src/ast/ddl.rs
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
1 parent a883cb9 commit 2163b34

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/ast/ddl.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3221,7 +3221,7 @@ pub struct CreateTrigger {
32213221
pub or_alter: bool,
32223222
/// True if this is a temporary trigger.
32233223
///
3224-
/// The possible syntaxes are two:
3224+
/// Examples:
32253225
///
32263226
/// ```sql
32273227
/// CREATE TEMP TRIGGER trigger_name
@@ -3230,10 +3230,11 @@ pub struct CreateTrigger {
32303230
/// or
32313231
///
32323232
/// ```sql
3233-
/// CREATE TEMPORARY TRIGGER trigger_name
3233+
/// CREATE TEMPORARY TRIGGER trigger_name;
3234+
/// CREATE TEMP TRIGGER trigger_name;
32343235
/// ```
32353236
///
3236-
/// [Temporary Triggers in SQLite](https://sqlite.org/lang_createtrigger.html#temp_triggers_on_non_temp_tables)
3237+
/// [SQLite](https://sqlite.org/lang_createtrigger.html#temp_triggers_on_non_temp_tables)
32373238
pub temporary: bool,
32383239
/// The `OR REPLACE` clause is used to re-create the trigger if it already exists.
32393240
///

0 commit comments

Comments
 (0)