You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1047,11 +1047,12 @@ See the [Column Types](#column-types) section for all possible column types and
1047
1047
1048
1048
### Keys
1049
1049
1050
-
There are three properties that can be used to define different types of keys:
1050
+
The following properties can be used to define different types of keys:
1051
1051
1052
1052
+[`primaryKey`](#primarykey--stringstring)
1053
1053
+[`uniqueKeys`](#uniquekeys--arraystringstring)
1054
1054
+[`indexes`](#indexes--arraystringstring)
1055
+
+[`spatialIndexes`](#spatialindexes--string)
1055
1056
1056
1057
Note that [column definitions](#columndefinition) allow you to define these keys directly on the column. If you use that method of defining a key for a column, you should not define the key again using one of these properties.
1057
1058
@@ -1104,7 +1105,7 @@ Used to define the table's indexes. Its value is an array where the elements are
1104
1105
1105
1106
Used to define the table's spatial indexes. Its value is an array where the elements are the column name for each index.
1106
1107
1107
-
Note that spatial indexes may each only have 1 column and they may only be defined for geometrical type columns.
1108
+
Note that spatial indexes may each only have 1 column and they may only be defined for [geometry-type](https://dev.mysql.com/doc/refman/5.7/en/spatial-type-overview.html) columns.
Copy file name to clipboardExpand all lines: jsdoc2md/README.hbs
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -161,11 +161,12 @@ See the [Column Types](#column-types) section for all possible column types and
161
161
162
162
### Keys
163
163
164
-
There are three properties that can be used to define different types of keys:
164
+
The following properties can be used to define different types of keys:
165
165
166
166
+ [`primaryKey`](#primarykey--stringstring)
167
167
+ [`uniqueKeys`](#uniquekeys--arraystringstring)
168
168
+ [`indexes`](#indexes--arraystringstring)
169
+
+ [`spatialIndexes`](#spatialindexes--string)
169
170
170
171
Note that [column definitions](#columndefinition) allow you to define these keys directly on the column. If you use that method of defining a key for a column, you should not define the key again using one of these properties.
171
172
@@ -218,7 +219,7 @@ Used to define the table's indexes. Its value is an array where the elements are
218
219
219
220
Used to define the table's spatial indexes. Its value is an array where the elements are the column name for each index.
220
221
221
-
Note that spatial indexes may each only have 1 column and they may only be defined for geometrical type columns.
222
+
Note that spatial indexes may each only have 1 column and they may only be defined for [geometry-type](https://dev.mysql.com/doc/refman/5.7/en/spatial-type-overview.html) columns.
0 commit comments