|
73 | 73 | | /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>. | |
74 | 74 | | /audit | Adds Oracle auditing, by default AUDIT ALL ON <TABLE NAME>. | |
75 | 75 | | /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 | |
76 | 77 | | /colprefix | Prefix all columns of a given table with this value. Automatically adds an underscore if not provided. | |
77 | 78 | | /compress, /compressed | Table will be created compressed. | |
78 | 79 | | /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. |
122 | 123 | | /between | Adds a between check constraint on the column, for example /between 1 and 100 | |
123 | 124 | | /hidden, /invisible | Hidden columns are not displayed using select * from table. | |
124 | 125 | | /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. | |
125 | 129 | | /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. | |
126 | 130 | | --, [comments] | Enclose comments using square brackets or using dash dash syntax | |
127 | 131 | <!-- markdownlint-enable MD013 --> |
|
0 commit comments