|
33 | 33 | #### `pgm.dropOperator( operator_name, drop_options )`
|
34 | 34 |
|
35 | 35 | > [!IMPORTANT]
|
36 |
| -> Drop a operator - [postgres docs](http://www.postgresql.org/docs/current/static/sql-dropoperator.html) |
| 36 | +> Drop an operator - [postgres docs](http://www.postgresql.org/docs/current/static/sql-dropoperator.html) |
37 | 37 |
|
38 | 38 | ### Arguments
|
39 | 39 |
|
|
64 | 64 | | --------------------- | ------------------------- | ------------------------------------------------- |
|
65 | 65 | | `operator_class_name` | [Name](/migrations/#type) | name of the new operator class |
|
66 | 66 | | `type` | `string` | data type of the new operator class |
|
67 |
| -| `index_method` | [Name](/migrations/#type) | name of the index method of operator class | |
| 67 | +| `index_method` | `string` | name of the index method of operator class | |
68 | 68 | | `operator_list` | `array` | of [operator objects](#operator-list-definitions) |
|
69 | 69 | | `options` | `object` | Check below for available options |
|
70 | 70 |
|
|
87 | 87 | | Name | Type | Description |
|
88 | 88 | | --------------------- | ------------------------- | ------------------------------------------ |
|
89 | 89 | | `operator_class_name` | [Name](/migrations/#type) | name of the operator class to drop |
|
90 |
| -| `index_method` | [Name](/migrations/#type) | name of the index method of operator class | |
| 90 | +| `index_method` | `string` | name of the index method of operator class | |
91 | 91 | | `drop_options` | `object` | Check below for available options |
|
92 | 92 |
|
93 | 93 | ### Options
|
|
109 | 109 | | Name | Type | Description |
|
110 | 110 | | ------------------------- | ------------------------- | ------------------------------------------ |
|
111 | 111 | | `old_operator_class_name` | [Name](/migrations/#type) | old name of the operator class |
|
112 |
| -| `index_method` | [Name](/migrations/#type) | name of the index method of operator class | |
| 112 | +| `index_method` | `string` | name of the index method of operator class | |
113 | 113 | | `new_operator_class_name` | [Name](/migrations/#type) | new name of the operator class |
|
114 | 114 |
|
115 | 115 | ## Operation: `alterOperatorClass`
|
|
124 | 124 | | Name | Type | Description |
|
125 | 125 | | ---------------------- | ------------------------- | ------------------------------------------- |
|
126 | 126 | | `operator_family_name` | [Name](/migrations/#type) | name of the new operator family |
|
127 |
| -| `index_method` | [Name](/migrations/#type) | name of the index method of operator family | |
| 127 | +| `index_method` | `string` | name of the index method of operator family | |
128 | 128 |
|
129 | 129 | ## Reverse Operation: `dropOperatorFamily`
|
130 | 130 |
|
131 | 131 | #### `pgm.dropOperatorFamily( operator_family_name, index_methoddrop_options )`
|
132 | 132 |
|
133 | 133 | > [!IMPORTANT]
|
134 |
| -> Drop a operator family - [postgres docs](http://www.postgresql.org/docs/current/static/sql-dropopfamily.html) |
| 134 | +> Drop an operator family - [postgres docs](http://www.postgresql.org/docs/current/static/sql-dropopfamily.html) |
135 | 135 |
|
136 | 136 | ### Arguments
|
137 | 137 |
|
138 | 138 | | Name | Type | Description |
|
139 | 139 | | ---------------------- | ------------------------- | ------------------------------------------- |
|
140 | 140 | | `operator_family_name` | [Name](/migrations/#type) | name of the operator family to drop |
|
141 |
| -| `index_method` | [Name](/migrations/#type) | name of the index method of operator family | |
| 141 | +| `index_method` | `string` | name of the index method of operator family | |
142 | 142 | | `drop_options` | `object` | Check below for available options |
|
143 | 143 |
|
144 | 144 | ### Options
|
|
160 | 160 | | Name | Type | Description |
|
161 | 161 | | -------------------------- | ------------------------- | ------------------------------------------- |
|
162 | 162 | | `old_operator_family_name` | [Name](/migrations/#type) | old name of the operator family |
|
163 |
| -| `index_method` | [Name](/migrations/#type) | name of the index method of operator family | |
| 163 | +| `index_method` | `string` | name of the index method of operator family | |
164 | 164 | | `new_operator_family_name` | [Name](/migrations/#type) | new name of the operator family |
|
165 | 165 |
|
166 | 166 | ## Operation: `alterOperatorFamily`
|
|
175 | 175 | | Name | Type | Description |
|
176 | 176 | | ---------------------- | ------------------------- | ------------------------------------------------- |
|
177 | 177 | | `operator_family_name` | [Name](/migrations/#type) | name of the operator family |
|
178 |
| -| `index_method` | [Name](/migrations/#type) | name of the index method of operator family | |
| 178 | +| `index_method` | `string` | name of the index method of operator family | |
179 | 179 | | `operator_list` | `array` | of [operator objects](#operator-list-definitions) |
|
180 | 180 |
|
181 | 181 | ## Reverse Operation: `dropFromOperatorFamily`
|
|
190 | 190 | | Name | Type | Description |
|
191 | 191 | | ---------------------- | ------------------------- | ------------------------------------------------- |
|
192 | 192 | | `operator_family_name` | [Name](/migrations/#type) | name of the operator family |
|
193 |
| -| `index_method` | [Name](/migrations/#type) | name of the index method of operator family | |
| 193 | +| `index_method` | `string` | name of the index method of operator family | |
194 | 194 | | `operator_list` | `array` | of [operator objects](#operator-list-definitions) |
|
195 | 195 |
|
196 | 196 | ## Operator List Definitions
|
197 | 197 |
|
198 |
| -Some functions for defining operators take as parameter `operator_list` which is array of objects with the following |
| 198 | +Some functions for defining operators take as parameter `operator_list` which is an array of objects with the following |
199 | 199 | structure:
|
200 | 200 |
|
201 | 201 | | Name | Type | Description |
|
|
0 commit comments