Fetch google sheets
This commit is contained in:
parent
76eef8d3d4
commit
74ea851fa3
|
@ -243,9 +243,10 @@ class GoogleSheetsIntegration implements DatasourcePlus {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getTableNames(): Promise<string[]> {
|
async getTableNames(): Promise<string[]> {
|
||||||
// TODO: implement
|
await this.connect()
|
||||||
return Promise.resolve([])
|
const sheets = this.client.sheetsByIndex
|
||||||
|
return sheets.map(s => s.title)
|
||||||
}
|
}
|
||||||
|
|
||||||
getTableSchema(title: string, headerValues: string[], id?: string) {
|
getTableSchema(title: string, headerValues: string[], id?: string) {
|
||||||
|
|
Loading…
Reference in New Issue