Skip to content

Commit 67984c4

Browse files
doc
1 parent f9e2ffb commit 67984c4

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

doc/user/quick-sql-grammar.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
| /api | Generate PL/SQL package API to query, insert, update, and delete data within a table. Adds Oracle auditing, by default AUDIT ALL ON <TABLE NAME>. |
7474
| /audit | Adds Oracle auditing, by default AUDIT ALL ON <TABLE NAME>. |
7575
| /auditcols, /audit cols, /audit columns | Automatically adds an UPDATED, UPDATED_BY, INSERTED, and INSERTED_BY columns and the trigger logic to set column values. |
76+
| /check | table level constraint |
7677
| /colprefix | Prefix all columns of a given table with this value. Automatically adds an underscore if not provided. |
7778
| /compress, /compressed | Table will be created compressed. |
7879
| /insert NN | Generate NN SQL INSERT statement(s) with random data, for example: /INSERT 20. (Maximum = 1000) |
@@ -122,6 +123,9 @@ and is usually omitted from QSQL schema definition.
122123
| /between | Adds a between check constraint on the column, for example /between 1 and 100 |
123124
| /hidden, /invisible | Hidden columns are not displayed using select * from table. |
124125
| /references, /reference, /fk | Foreign key references e.g. /references table_name. Note you can reference tables that are not part of your model. |
126+
| /cascade | on delete cascade |
127+
| /setnull | on delete set null |
128+
| /references, /reference, /fk | Foreign key references e.g. /references table_name. Note you can reference tables that are not part of your model. |
125129
| /pk | Identifies column as the primary key of the table. It is recommended not manually specify primary keys and let this app create primary key columns automatically. |
126130
| --, [comments] | Enclose comments using square brackets or using dash dash syntax |
127131
<!-- markdownlint-enable MD013 -->

test/explain_plan.sql

Whitespace-only changes.

0 commit comments

Comments
 (0)