( id: string, example: string, )
| 9 | } from "../../src/utils/connectionStringParser"; |
| 10 | |
| 11 | function createRemoteDriver( |
| 12 | id: string, |
| 13 | example: string, |
| 14 | ): ConnectionStringDriver { |
| 15 | return { |
| 16 | id, |
| 17 | capabilities: { |
| 18 | schemas: id === "postgres", |
| 19 | views: true, |
| 20 | routines: true, |
| 21 | file_based: false, |
| 22 | folder_based: false, |
| 23 | connection_string: true, |
| 24 | connection_string_example: example, |
| 25 | identifier_quote: id === "mysql" ? "`" : '"', |
| 26 | alter_primary_key: true, |
| 27 | }, |
| 28 | }; |
| 29 | } |
| 30 | |
| 31 | // Mirrors the real builtin driver capabilities (postgres:// and mysql:// |
| 32 | // examples) so alias coverage below exercises the alias expansion, not the |
no outgoing calls
no test coverage detected