Skip to content

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

Open
@rhashimoto

Description

@rhashimoto

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions