Corrected documented signature for remove() method

Documentation claimed the remove() method took two parameters: key and value, whereas in reality it only takes one: the key to be removed, as one would expect.
This commit is contained in:
Klaus Karkia
2016-02-09 15:53:07 +02:00
parent 613cc2807b
commit 9e34235abb

View File

@@ -186,7 +186,6 @@ export class SqlStorage extends StorageEngine {
/**
* Remove the value in the database for the given key.
* @param {string} key the key
* @param {string} value The value (as a string)
* @return {Promise} that resolves or rejects with an object of the form { tx: Transaction, res: Result (or err)}
*/
remove(key: string): Promise<any> {