(id: string)
| 109 | } |
| 110 | |
| 111 | async getViewColumns(id: string) { |
| 112 | const viewName = `vw_${id}` |
| 113 | const columns = await this.dataSpace.db |
| 114 | .prepare(`PRAGMA table_info(${viewName});`) |
| 115 | .all() |
| 116 | return columns |
| 117 | } |
| 118 | |
| 119 | async getViewFields(id: string): Promise<IField[]> { |
| 120 | const viewName = `vw_${id}` |
no test coverage detected