(database: string)
| 297 | } |
| 298 | |
| 299 | public async schemas(database: string): Promise<string[]> { |
| 300 | const data = await this.getClient(database).getDatasets({ autoPaginate: true, maxResults: 1000 }); |
| 301 | return data[0].map(dataset => dataset.id); |
| 302 | } |
| 303 | |
| 304 | public async createSchema(database: string, schema: string): Promise<void> { |
| 305 | await this.execute( |