Skip to content

Query returning 0 records gives error #8

@Tenzer

Description

@Tenzer

When doing a query which doesn't match any records, the callback is called with the error argument set to Error: No records. Is this the right thing to do? Wouldn't it be better to return an empty result set, and let people check if there are any results themselves?
I would say the error argument only should be set if an error really happened, which making a query with zero results not is - at least for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions