File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
docs/content/overview/schema
tools/SchemaCollectionGenerator Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -32,3 +32,12 @@ COLUMN_COMMENT | string
32
32
GENERATION_EXPRESSION | string
33
33
SRS_ID | string
34
34
35
+ The following restrictions are supported:
36
+
37
+ Restriction Name | Restriction Default | Restriction Number
38
+ --- | --- | --:
39
+ Catalog | TABLE_CATALOG | 1
40
+ Schema | TABLE_SCHEMA | 2
41
+ Table | TABLE_NAME | 3
42
+ Column | COLUMN_NAME | 4
43
+
Original file line number Diff line number Diff line change @@ -174,6 +174,18 @@ Column Name | Data Type
174
174
foreach ( var column in schema . Columns )
175
175
schemaDocWriter . WriteLine ( $@ "{ column . Name } | { column . Type } ") ;
176
176
schemaDocWriter . WriteLine ( ) ;
177
+
178
+ if ( schema . Restrictions is { Count : > 0 } )
179
+ {
180
+ schemaDocWriter . Write ( @"The following restrictions are supported:
181
+
182
+ Restriction Name | Restriction Default | Restriction Number
183
+ --- | --- | --:
184
+ " ) ;
185
+ for ( var i = 0 ; i < schema . Restrictions . Count ; i ++ )
186
+ schemaDocWriter . WriteLine ( $@ "{ schema . Restrictions [ i ] . Name } | { schema . Restrictions [ i ] . Default } | { i + 1 } ") ;
187
+ schemaDocWriter . WriteLine ( ) ;
188
+ }
177
189
}
178
190
179
191
class Schema
You can’t perform that action at this time.
0 commit comments