( instanceOrEngine: Instance | InstanceResource | Engine )
| 174 | }; |
| 175 | |
| 176 | export const instanceV1HasExtraParameters = ( |
| 177 | instanceOrEngine: Instance | InstanceResource | Engine |
| 178 | ): boolean => { |
| 179 | const engine = engineOfInstanceV1(instanceOrEngine); |
| 180 | return [ |
| 181 | Engine.MYSQL, |
| 182 | Engine.TIDB, |
| 183 | Engine.MARIADB, |
| 184 | Engine.OCEANBASE, |
| 185 | Engine.POSTGRES, |
| 186 | Engine.ORACLE, |
| 187 | Engine.MSSQL, |
| 188 | Engine.MONGODB, |
| 189 | ].includes(engine); |
| 190 | }; |
| 191 | |
| 192 | export const instanceV1HasCollationAndCharacterSet = ( |
| 193 | instanceOrEngine: Instance | InstanceResource | Engine |
no test coverage detected