sql.js
sql.js copied to clipboard
Database.each() documented return value doesn't match code
Database.each() is documented as returning the Database instance:
Returns: ( Database ) — The database object. Usefull for method chaining
The source code, however, shows that it returns either the result of the done callback or undefined. Either the documentation or the code appears wrong.