( columnRef: ColumnReference, tables: TableSchema[] )
| 108 | } |
| 109 | |
| 110 | function resolveStarColumnRef( |
| 111 | columnRef: ColumnReference, |
| 112 | tables: TableSchema[] |
| 113 | ): QualifiedColumnReference[] { |
| 114 | const table = resolveTable(columnRef, tables) |
| 115 | |
| 116 | return table.columnNames.map(columnName => ({ |
| 117 | tableName: table.tableName, |
| 118 | columnName, |
| 119 | path: columnRef.path |
| 120 | })) |
| 121 | } |
| 122 | |
| 123 | export function resolveToConcreteColumnRefs( |
| 124 | columnRefs: ColumnReference[], |
no test coverage detected