Method
getTableInfo
(
connectionId: string,
schemaName: string,
tableName: string
)
Source from the content-addressed store, hash-verified
| 108 | } |
| 109 | |
| 110 | async getTableInfo( |
| 111 | connectionId: string, |
| 112 | schemaName: string, |
| 113 | tableName: string |
| 114 | ): Promise<PostgreSQLTableInfo> { |
| 115 | const response = await apiClient.get<BackendResponse<PostgreSQLTableInfo>>( |
| 116 | `${this.baseUrl}/connections/${connectionId}/schemas/${encodeURIComponent( |
| 117 | schemaName |
| 118 | )}/tables/${encodeURIComponent(tableName)}` |
| 119 | ); |
| 120 | return response.data; |
| 121 | } |
| 122 | |
| 123 | async previewTableData( |
| 124 | connectionId: string, |
Tested by
no test coverage detected