sql.js icon indicating copy to clipboard operation
sql.js copied to clipboard

Database.each() documented return value doesn't match code

Open rhashimoto opened this issue 5 years ago • 0 comments

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.

rhashimoto avatar May 14 '20 18:05 rhashimoto