( cursor: CursorV2 )
| 178 | } |
| 179 | |
| 180 | function parseConstraintConflict( |
| 181 | cursor: CursorV2 |
| 182 | ): DatabaseColumnConflict | undefined { |
| 183 | if (!cursor.match("ON")) return; |
| 184 | cursor.next(); |
| 185 | |
| 186 | if (!cursor.match("CONFLICT")) return; |
| 187 | cursor.next(); |
| 188 | |
| 189 | if (!cursor.end()) { |
| 190 | const conflict = cursor.read().toUpperCase(); |
| 191 | cursor.next(); |
| 192 | return conflict as DatabaseColumnConflict; |
| 193 | } |
| 194 | |
| 195 | return; |
| 196 | } |
| 197 | |
| 198 | export function parseColumnList(columnPtr: CursorV2) { |
| 199 | const columns: string[] = []; |
no test coverage detected
searching dependent graphs…