* @param {String} keyspaceName * @param {String} name * @private
(keyspaceName, name)
| 556 | * @private |
| 557 | */ |
| 558 | async _getFunctionsWrapper(keyspaceName, name) { |
| 559 | if (!keyspaceName || !name) { |
| 560 | throw new errors.ArgumentError('You must provide the keyspace name and cql function name to retrieve the metadata'); |
| 561 | } |
| 562 | const functionsMap = await this._getFunctions(keyspaceName, name, false); |
| 563 | return Array.from(functionsMap.values()); |
| 564 | } |
| 565 | |
| 566 | /** |
| 567 | * Gets a definition of CQL function for a given name and signature. |
no test coverage detected