(comment)
| 31 | } |
| 32 | |
| 33 | export function exportFieldComment(comment) { |
| 34 | if (comment === "") { |
| 35 | return ""; |
| 36 | } |
| 37 | |
| 38 | return comment |
| 39 | .split("\n") |
| 40 | .map((commentLine) => `\t-- ${commentLine}\n`) |
| 41 | .join(""); |
| 42 | } |
| 43 | |
| 44 | export function uniqueConstraintClause(table, quote) { |
| 45 | const constraints = (table.uniqueConstraints || []).filter( |
no outgoing calls
no test coverage detected