(waitReconnect)
| 631 | } |
| 632 | |
| 633 | async getKeyspaces(waitReconnect) { |
| 634 | const keyspaces = {}; |
| 635 | const result = await this.cc.query(_selectAllKeyspacesV2, waitReconnect); |
| 636 | for (let i = 0; i < result.rows.length; i++) { |
| 637 | const ksInfo = this._parseKeyspace(result.rows[i]); |
| 638 | keyspaces[ksInfo.name] = ksInfo; |
| 639 | } |
| 640 | return keyspaces; |
| 641 | } |
| 642 | |
| 643 | async getKeyspace(name) { |
| 644 | const row = await this._getFirstRow(format(_selectSingleKeyspaceV2, name)); |
nothing calls this directly
no test coverage detected