(db)
| 10 | import { getRelationshipFields } from "../utils"; |
| 11 | |
| 12 | function getQuote(db) { |
| 13 | if (db === DB.MYSQL || db === DB.MARIADB) return (s) => `\`${s}\``; |
| 14 | if (db === DB.MSSQL) return (s) => `[${s}]`; |
| 15 | return (s) => `"${s}"`; |
| 16 | } |
| 17 | |
| 18 | function parseType(field, db) { |
| 19 | let res = field.type; |
no outgoing calls
no test coverage detected